diff --git a/packages/ui/src/renderer/src/features/DependenciesSetupProgressIndicatorDialog/index.vue b/packages/ui/src/renderer/src/features/DependenciesSetupProgressIndicatorDialog/index.vue deleted file mode 100644 index 64eddb8..0000000 --- a/packages/ui/src/renderer/src/features/DependenciesSetupProgressIndicatorDialog/index.vue +++ /dev/null @@ -1,105 +0,0 @@ - - - - 正在下载核心组件 - - - - - - diff --git a/packages/ui/src/renderer/src/features/DependenciesSetupProgressIndicatorDialog/operations.ts b/packages/ui/src/renderer/src/features/DependenciesSetupProgressIndicatorDialog/operations.ts deleted file mode 100644 index 4ecbed1..0000000 --- a/packages/ui/src/renderer/src/features/DependenciesSetupProgressIndicatorDialog/operations.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { createApp } from 'vue' -import ElementPlus from 'element-plus' -import DependenciesSetupProgressIndicatorDialog from './index.vue' - -export const mountGlobalDialog = (o: { dependenciesStatus: Record, processWaitee? }) => { - const containerElId = `elForDependenciesSetupProgressIndicatorDialog` - - if (document.getElementById(containerElId)) { - return - } - let containerEl: null | HTMLElement = (() => { - const el = document.createElement('div') - el.id = containerElId - return el - })() - document.body.append(containerEl) - - const dispose = () => { - app?.unmount() - containerEl?.remove() - - app = null - containerEl = null - } - let app: null | ReturnType = createApp(DependenciesSetupProgressIndicatorDialog, { - modelValue: true, - onClosed() { - dispose() - }, - dispose, - dependenciesStatus: o?.dependenciesStatus, - processWaitee: o?.processWaitee - }).use(ElementPlus) - app.mount(containerEl) - - return { - dispose - } -} diff --git a/packages/ui/src/renderer/src/features/WaitForLoginDialog/index.vue b/packages/ui/src/renderer/src/features/WaitForLoginDialog/index.vue deleted file mode 100644 index 040f7f2..0000000 --- a/packages/ui/src/renderer/src/features/WaitForLoginDialog/index.vue +++ /dev/null @@ -1,245 +0,0 @@ - - - - 由于您是首次使用本程序,或者您之前使用的Boss直聘账号登录状态失效,因此您需要重新获取登录凭证。 - - - 如果您了解如何获取Cookie、了解有效的Cookie格式,可以直接在下方输入框中进行编辑。 - 手动编辑较为麻烦,建议您打开已登录过Boss直聘的浏览器,使用 - EditThisCookie 扩展程序 - 复制Cookie,然后粘贴在下方输入框中。 - 格式为被序列化为JSON的数组,不含两侧引号。 - - - - 如果您不了解Cookie相关概念,或者不能访问Chrome扩展程序商店下载EditThisCookie来获取Cookie,请按照以下步骤进行操作: - - - - 点击此处 - 启动浏览器 - - 按照正常流程,通过 短信验证码/二维码/微信小程序 登录您的Boss直聘账号 - 接下来将自动进行一些页面跳转,最终将会停留在首页 - - 登录后预计5-10秒内(具体取决于您的网速),您的Cookie将被自动填入下方输入框。 - - 我已完成登录,但Cookie一直没出现? - - 如果您确实已经在打开浏览器中看到您已登录了Boss直聘,请尝试按照如图所示方式复制Cookie: - - 依次点击浏览器右上角“扩展程序”图标、“EditThisCookie”图标 - - - - 点击“EditThisCookie”弹出框中的“Export”按钮 - - - - 在下方输入框执行粘贴操作。 - - - - - - - - - 正在等待登录…… - 已获取到Cookie;看起来您似乎正在尝试手动输入Cookie?使用获取到的Cookie - - - - 关闭 - 保存Cookie - - - - - - - diff --git a/packages/ui/src/renderer/src/features/WaitForLoginDialog/operations.ts b/packages/ui/src/renderer/src/features/WaitForLoginDialog/operations.ts deleted file mode 100644 index 98f773b..0000000 --- a/packages/ui/src/renderer/src/features/WaitForLoginDialog/operations.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { createApp } from 'vue' -import ElementPlus from 'element-plus' -import WaitForLogin from './index.vue' - -export const mountGlobalDialog = (o: { processWaitee? }) => { - const containerElId = `elForWaitForLogin` - - if (document.getElementById(containerElId)) { - return - } - let containerEl: null | HTMLElement = (() => { - const el = document.createElement('div') - el.id = containerElId - return el - })() - document.body.append(containerEl) - - const dispose = () => { - app?.unmount() - containerEl?.remove() - - app = null - containerEl = null - } - let app: null | ReturnType = createApp(WaitForLogin, { - modelValue: true, - onClosed() { - dispose() - }, - dispose, - processWaitee: o?.processWaitee - }).use(ElementPlus) - app.mount(containerEl) - - return { - dispose - } -} diff --git a/packages/ui/src/renderer/src/features/WaitForLoginDialog/resources/copy-cookie-step-1.png b/packages/ui/src/renderer/src/features/WaitForLoginDialog/resources/copy-cookie-step-1.png deleted file mode 100644 index a6fd53d..0000000 Binary files a/packages/ui/src/renderer/src/features/WaitForLoginDialog/resources/copy-cookie-step-1.png and /dev/null differ diff --git a/packages/ui/src/renderer/src/features/WaitForLoginDialog/resources/copy-cookie-step-2.png b/packages/ui/src/renderer/src/features/WaitForLoginDialog/resources/copy-cookie-step-2.png deleted file mode 100644 index 914da86..0000000 Binary files a/packages/ui/src/renderer/src/features/WaitForLoginDialog/resources/copy-cookie-step-2.png and /dev/null differ