From a29ad6a0917c96ab8d69f8f7fa96546084355326 Mon Sep 17 00:00:00 2001 From: Aqr-K <95741669+Aqr-K@users.noreply.github.com> Date: Mon, 25 Nov 2024 16:30:57 +0800 Subject: [PATCH 1/4] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E6=B3=A8=E5=86=8C?= =?UTF-8?q?=E9=A1=BA=E5=BA=8F=EF=BC=8C=E8=A7=A3=E5=86=B3=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E6=B3=A8=E5=86=8C=E7=9A=84=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/main.ts b/src/main.ts index 9972e04c..c43fa95e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -12,7 +12,7 @@ import { isPWA } from './@core/utils/navigator' import './ace-config' import { VAceEditor } from 'vue3-ace-editor' import { PerfectScrollbarPlugin } from 'vue3-perfect-scrollbar' -import { VTreeview } from 'vuetify/labs/VTreeview' +// import { VTreeview } from 'vuetify/labs/VTreeview' import ToastPlugin from 'vue-toast-notification' import VuetifyUseDialog from 'vuetify-use-dialog' import VueApexCharts from 'vue3-apexcharts' @@ -49,6 +49,11 @@ async function initializeApp() { // 注册全局组件 initializeApp().then(() => { + // 优先注册框架 + app + .use(vuetify) + + // 注册组件 app .component('VAceEditor', VAceEditor) .component('VApexChart', VueApexCharts) @@ -60,12 +65,11 @@ initializeApp().then(() => { .component('VMediaInfoCard', MediaInfoCard) .component('VTorrentCard', TorrentCard) .component('VMediaIdSelector', MediaIdSelector) - .component('VTreeview', VTreeview) + // .component('VTreeview', VTreeview) .component('VPathField', PathField) // 注册插件 app - .use(vuetify) .use(router) .use(store) .use(ToastPlugin, { From 02a8331996fead4ab4131e51ed63fac99f0ae9b6 Mon Sep 17 00:00:00 2001 From: Aqr-K <95741669+Aqr-K@users.noreply.github.com> Date: Mon, 25 Nov 2024 16:32:01 +0800 Subject: [PATCH 2/4] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E5=A4=9A=E4=BD=99?= =?UTF-8?q?`import`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/input/PathField.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/input/PathField.vue b/src/components/input/PathField.vue index 2b59ca39..d8743385 100644 --- a/src/components/input/PathField.vue +++ b/src/components/input/PathField.vue @@ -1,7 +1,6 @@