From fa2a058ee96f6a4536255feaebbc1e974c9210c3 Mon Sep 17 00:00:00 2001 From: molong Date: Fri, 13 Feb 2026 10:46:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=EF=BC=8C=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 +- src/App.vue | 6 +- src/boot.js | 2 +- src/hooks/useTable.js | 2 +- src/layouts/components/navMenu.vue | 2 +- src/layouts/components/search.vue | 2 +- src/layouts/components/setting.vue | 4 +- src/layouts/components/task.vue | 4 +- src/layouts/components/userbar.vue | 12 +- src/layouts/index.vue | 4 +- src/main.js | 4 +- src/utils/request.js | 2 +- yarn.lock | 624 ++++++++++++++++++++++------- 13 files changed, 501 insertions(+), 171 deletions(-) diff --git a/package.json b/package.json index 8e86124..90e26e3 100644 --- a/package.json +++ b/package.json @@ -14,10 +14,10 @@ "format": "prettier --write --experimental-cli src/" }, "dependencies": { - "@ant-design/icons-vue": "^7.0.1", + "@antdv-next/icons": "^1.0.1", "@ckeditor/ckeditor5-vue": "^7.3.0", "@element-plus/icons-vue": "^2.3.2", - "ant-design-vue": "^4.2.6", + "antdv-next": "^1.0.2", "axios": "^1.13.2", "ckeditor5": "^47.4.0", "crypto-js": "^4.2.0", diff --git a/src/App.vue b/src/App.vue index 71be399..1bf700e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,10 +3,10 @@ import { onMounted, computed, watch, nextTick } from 'vue' import { storeToRefs } from 'pinia' import { useI18nStore } from './stores/modules/i18n' import { useLayoutStore } from './stores/modules/layout' -import { theme } from 'ant-design-vue' +import { theme } from 'antdv-next' import i18n from './i18n' -import zhCN from 'ant-design-vue/es/locale/zh_CN' -import enUS from 'ant-design-vue/es/locale/en_US' +import zhCN from 'antdv-next/locale/zh_CN' +import enUS from 'antdv-next/locale/en_US' import dayjs from 'dayjs' import 'dayjs/locale/zh-cn' import 'dayjs/locale/en' diff --git a/src/boot.js b/src/boot.js index ee7ffbf..1a98f12 100644 --- a/src/boot.js +++ b/src/boot.js @@ -1,4 +1,4 @@ -import * as AIcons from '@ant-design/icons-vue' +import * as AIcons from '@antdv-next/icons' import * as ElementPlusIconsVue from '@element-plus/icons-vue' export default { diff --git a/src/hooks/useTable.js b/src/hooks/useTable.js index b9850a4..933abad 100644 --- a/src/hooks/useTable.js +++ b/src/hooks/useTable.js @@ -1,5 +1,5 @@ import { ref, reactive, computed, onMounted } from 'vue' -import { message } from 'ant-design-vue' +import { message } from 'antdv-next' /** * 表格通用hooks diff --git a/src/layouts/components/navMenu.vue b/src/layouts/components/navMenu.vue index 798fb87..a60c709 100644 --- a/src/layouts/components/navMenu.vue +++ b/src/layouts/components/navMenu.vue @@ -21,7 +21,7 @@