\n\n支持一键撤销其他登录设备。\n\n/area ui\n/kind feature\n/milestone 2.20.x\n\n### 附加信息\n\n_No response_",[3120,3121],{"name":3053,"color":3054},{"name":3024,"color":3025},7267,"在个人中心的登录设备中支持撤销所有其他设备","2025-03-07T06:45:00Z","https://github.com/halo-dev/halo/issues/7267",0.7445103,{"description":3128,"labels":3129,"number":3130,"owner":3027,"repository":3028,"state":3044,"title":3131,"updated_at":3132,"url":3133,"score":3134},"### 系统信息\n\n操作系统:windows10 22H2\n版本:2.20.8\n数据库:h2\n\n### 使用的哪种方式运行?\n\nSource Code\n\n### 发生了什么?\n\n使用源码根据文档构建完整的fat jar包,到前端ui时报出错误,改为手动只编译ui报同样错误\npnpm build:packages 、 pnpm dev本地测试正常\n运行pnpm build就会报错,报错信息放在了日志输出\n\n### 复现步骤\n\n_No response_\n\n### 相关日志输出\n\n> vue-tsc --noEmit -p tsconfig.app.json --composite false && vite build --config ./vite.config.ts\n\nconsole-src/composables/use-global-info.ts:3:19 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n3 import axios from \"axios\";\n ~~~~~~~\n\nconsole-src/modules/contents/pages/SinglePageEditor.vue:35:41 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n35 import type { AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nconsole-src/modules/contents/posts/PostEditor.vue:37:41 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n37 import type { AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nconsole-src/modules/system/backup/tabs/Restore.vue:17:19 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n17 import axios from \"axios\";\n ~~~~~~~\n\nconsole-src/modules/system/overview/Overview.vue:24:19 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n24 import axios from \"axios\";\n ~~~~~~~\n\nsrc/components/alerts/H2WarningAlert.vue:5:19 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n5 import axios from \"axios\";\n ~~~~~~~\n\nsrc/components/editor/components/EditorLinkObtain.vue:9:41 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n9 import type { AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nsrc/components/editor/DefaultEditor.vue:71:41 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n71 import type { AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nsrc/components/editor/extensions/audio/index.ts:3:41 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n3 import type { AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nsrc/components/editor/extensions/image/index.ts:3:41 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n3 import type { AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nsrc/components/editor/extensions/video/index.ts:3:41 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n3 import type { AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nsrc/components/editor/utils/upload.ts:5:41 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n5 import type { AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nsrc/formkit/inputs/select/SelectMain.vue:6:41 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n6 import type { AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nsrc/setup/setupApiClient.ts:4:33 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n4 import type { AxiosError } from \"axios\";\n ~~~~~~~\n\nsrc/stores/global-info.ts:2:19 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n2 import axios from \"axios\";\n ~~~~~~~\n\nuc-src/modules/contents/posts/PostEditor.vue:32:53 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n32 import { AxiosError, type AxiosRequestConfig } from \"axios\";\n ~~~~~~~\n\nuc-src/modules/contents/posts/PostEditor.vue:408:39 - error TS2339: Property 'response' does not exist on type 'Error'.\n\n408 const { detail, title } = error.response?.data || {};\n ~~~~~~~~\n\nuc-src/modules/profile/tabs/Detail.vue:16:19 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.\n\n16 import axios from \"axios\";\n ~~~~~~~\n\n\nFound 18 errors in 17 files.\n\nErrors Files\n 1 console-src/composables/use-global-info.ts:3\n 1 console-src/modules/contents/pages/SinglePageEditor.vue:35\n 1 console-src/modules/contents/posts/PostEditor.vue:37\n 1 console-src/modules/system/backup/tabs/Restore.vue:17\n 1 console-src/modules/system/overview/Overview.vue:24\n 1 src/components/alerts/H2WarningAlert.vue:5\n 1 src/components/editor/components/EditorLinkObtain.vue:9\n 1 src/components/editor/DefaultEditor.vue:71\n 1 src/components/editor/extensions/audio/index.ts:3\n 1 src/components/editor/extensions/image/index.ts:3\n 1 src/components/editor/extensions/video/index.ts:3\n 1 src/components/editor/utils/upload.ts:5\n 1 src/formkit/inputs/select/SelectMain.vue:6\n 1 src/setup/setupApiClient.ts:4\n 1 src/stores/global-info.ts:2\n 2 uc-src/modules/contents/posts/PostEditor.vue:32\n 1 uc-src/modules/profile/tabs/Detail.vue:16\n ELIFECYCLE Command failed with exit code 2.\nERROR: \"build:console\" exited with 2.\n ELIFECYCLE Command failed with exit code 1.\n\n\n### 附加信息\n\n_No response_",[],7004,"手动构建前端ui报错","2024-11-05T08:15:03Z","https://github.com/halo-dev/halo/issues/7004",0.75078416,["Reactive",3136],{},["Set"],["ShallowReactive",3139],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fi-1OBjToyIeK5j1k_b9_6JCRuCvwK9EzmMItb0mjKeI":-1},"/halo-dev/halo/5802"]