From ece8a0c690aebacce934c8d87d46b07c8577a673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=82=A0=E9=9D=99=E8=90=9D=E8=8E=89?= Date: Thu, 20 Oct 2022 11:45:52 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=B0=86vue-router=E5=92=8Cvue-tsc?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=20(#341)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 6 +++--- src/router/index.ts | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index a69a873..5cee8f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tdesign-vue-next-starter", - "version": "0.5.3", + "version": "0.5.4", "scripts": { "dev:mock": "vite --open --mode mock", "dev": "vite --open --mode development", @@ -32,7 +32,7 @@ "tvision-color": "^1.3.1", "vue": "^3.2.31", "vue-clipboard3": "^2.0.0", - "vue-router": "~4.0.11" + "vue-router": "~4.1.5" }, "devDependencies": { "@commitlint/cli": "^17.0.3", @@ -69,7 +69,7 @@ "vite": "^2.7.1", "vite-plugin-mock": "^2.9.6", "vite-svg-loader": "^3.1.0", - "vue-tsc": "^0.34.11" + "vue-tsc": "^1.0.8" }, "config": { "commitizen": { diff --git a/src/router/index.ts b/src/router/index.ts index 4f0725d..eb14bbf 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -28,7 +28,6 @@ const defaultRouterList: Array = [ { path: '/', redirect: '/dashboard/base', - component: () => import('@/layouts/blank.vue'), }, { path: '/:w+',