From 214272f011d15fc9239a74188ccfae534429a0e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=98=E6=B0=91=E5=BA=B7?= Date: Thu, 13 Mar 2025 19:11:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85=E7=9B=B8=E5=85=B3=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/router/index.ts | 2 -- src/views/Dashboard/Issue/index.vue | 1 - src/views/Dashboard/Merge/index.vue | 1 - src/views/Mobile/Repo/Issue/index.vue | 1 - vite.config.ts | 6 ++++++ 6 files changed, 7 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ed424da..9cf1150 100644 --- a/package.json +++ b/package.json @@ -69,6 +69,7 @@ "rollup-plugin-visualizer": "^5.9.2", "sass": "^1.63.6", "tailwindcss": "^3.3.3", + "terser": "^5.39.0", "typescript": "~5.0.4", "unplugin-vue-components": "^0.26.0", "vite": "^4.5.2", diff --git a/src/router/index.ts b/src/router/index.ts index dce525c..db2bb0a 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -7,14 +7,12 @@ import dashboardRouter from './config/dashboard'; import noticeRouter from './config/notice'; import accountRouter from './config/account'; import errorRouter from './config/error'; -import onLineEditor from './config/editor'; export { injectRouter } from './interceptor'; export const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), routes: [ - ...onLineEditor, ...homeRouter, ...accountRouter, ...dashboardRouter, diff --git a/src/views/Dashboard/Issue/index.vue b/src/views/Dashboard/Issue/index.vue index 0aba375..6b13890 100644 --- a/src/views/Dashboard/Issue/index.vue +++ b/src/views/Dashboard/Issue/index.vue @@ -8,7 +8,6 @@