From 1d5133b6957d95c0c2b1e9641f21a03d9a1c85bb Mon Sep 17 00:00:00 2001 From: ahaos <8406649+lhailgl@user.noreply.gitee.com> Date: Thu, 14 Dec 2023 08:17:12 +0000 Subject: [PATCH] =?UTF-8?q?!69=20=E4=BF=AE=E5=A4=8D=E5=8D=87=E7=BA=A7?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E5=B8=A6=E6=9D=A5=E7=9A=84=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20*=20fix=20=E4=BF=AE=E5=A4=8D=E5=8F=98?= =?UTF-8?q?=E9=87=8F=E9=97=AE=E9=A2=98=20*=20Merge=20remote-tracking=20bra?= =?UTF-8?q?nch=20'origin/dev'=20into=20dev=20*=20update=20=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E5=8D=87=E7=BA=A7=20*=20update=20=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=20*=20Merge=20remote-tracking=20branch=20'or?= =?UTF-8?q?igin/dev'=20into=20dev=20*=20=E5=8D=87=E7=BA=A7=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=20*=20Merge=20remote-tracking=20branch=20'origin/ts'?= =?UTF-8?q?=20into=20ts=20*=20=E5=8D=87=E7=BA=A7=E4=BE=9D=E8=B5=96=20*=20M?= =?UTF-8?q?erge=20branch=20'dev'=20of=20gitee.com:JavaLionLi/plus-ui=20int?= =?UTF-8?q?o=20ts=20*=20=E5=8D=87=E7=BA=A7=E4=BE=9D=E8=B5=96=20*=20!61=20f?= =?UTF-8?q?ix:=20=E5=88=A0=E9=99=A4=E9=87=8D=E5=A4=8D=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8F=98=E9=87=8FElUploadInstance=20*=20fix:=20=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E9=87=8D=E5=A4=8D=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F?= =?UTF-8?q?ElUploadInstance?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.js | 2 + .gitignore | 1 + src/components/Breadcrumb/index.vue | 4 +- src/components/Editor/index.vue | 7 ++- src/components/FileUpload/index.vue | 9 ++-- src/components/ImagePreview/index.vue | 2 +- src/components/ImageUpload/index.vue | 5 +- src/layout/components/InnerLink/index.vue | 2 +- src/layout/components/Sidebar/SidebarItem.vue | 3 +- src/layout/components/Sidebar/index.vue | 5 +- src/layout/components/TagsView/ScrollPane.vue | 1 + src/layout/components/TagsView/index.vue | 8 +-- src/main.ts | 2 +- src/permission.ts | 7 +-- src/store/modules/tagsView.ts | 4 +- src/types/axios.d.ts | 2 +- src/types/element.d.ts | 2 +- src/types/env.d.ts | 54 ------------------- src/types/global.d.ts | 3 +- src/types/module.d.ts | 5 ++ src/types/router.d.ts | 1 + src/types/vform3-builds.d.ts | 4 -- src/utils/index.ts | 2 +- src/utils/ruoyi.ts | 2 +- src/views/monitor/online/index.vue | 1 + src/views/monitor/operlog/index.vue | 2 +- src/views/system/role/selectUser.vue | 3 +- src/views/system/user/index.vue | 9 ++-- src/views/system/user/profile/thirdParty.vue | 6 +-- src/views/system/user/profile/userAvatar.vue | 5 +- src/views/system/user/profile/userInfo.vue | 5 +- src/views/tool/gen/genInfoForm.vue | 9 ++-- tsconfig.json | 8 ++- uno.config.ts | 33 ++++++++++++ vite/plugins/compression.ts | 4 +- vite/plugins/index.ts | 20 +++---- vite/plugins/unocss.ts | 7 --- 37 files changed, 124 insertions(+), 125 deletions(-) delete mode 100644 src/types/vform3-builds.d.ts create mode 100644 uno.config.ts diff --git a/.eslintrc.js b/.eslintrc.js index f6069c7..6042c39 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -22,6 +22,8 @@ module.exports = { rules: { '@typescript-eslint/no-empty-function': 'off', '@typescript-eslint/no-explicit-any': 'off', + '@typescript-eslint/no-unused-vars': 'off', + '@typescript-eslint/no-this-alias': 'off', // vue 'vue/multi-word-component-names': 'off', diff --git a/.gitignore b/.gitignore index 40df474..1fd56f0 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ selenium-debug.log package-lock.json yarn.lock +pnpm-lock.yaml # 编译生成的文件 auto-imports.d.ts diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue index 57a30ac..9502e60 100644 --- a/src/components/Breadcrumb/index.vue +++ b/src/components/Breadcrumb/index.vue @@ -33,9 +33,9 @@ const isDashboard = (route: RouteLocationMatched) => { } return name.trim() === 'Index'; }; -const handleLink = (item: RouteLocationMatched) => { +const handleLink = (item) => { const { redirect, path } = item; - redirect ? router.push(redirect as string) : router.push(path); + redirect ? router.push(redirect) : router.push(path); }; watchEffect(() => { diff --git a/src/components/Editor/index.vue b/src/components/Editor/index.vue index 44dee6d..05b574f 100644 --- a/src/components/Editor/index.vue +++ b/src/components/Editor/index.vue @@ -27,11 +27,14 @@