chore: 将vue-router和vue-tsc升级 (#341)

This commit is contained in:
悠静萝莉 2022-10-20 11:45:52 +08:00 committed by GitHub
parent 79c2f0fecc
commit ece8a0c690
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "tdesign-vue-next-starter", "name": "tdesign-vue-next-starter",
"version": "0.5.3", "version": "0.5.4",
"scripts": { "scripts": {
"dev:mock": "vite --open --mode mock", "dev:mock": "vite --open --mode mock",
"dev": "vite --open --mode development", "dev": "vite --open --mode development",
@ -32,7 +32,7 @@
"tvision-color": "^1.3.1", "tvision-color": "^1.3.1",
"vue": "^3.2.31", "vue": "^3.2.31",
"vue-clipboard3": "^2.0.0", "vue-clipboard3": "^2.0.0",
"vue-router": "~4.0.11" "vue-router": "~4.1.5"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^17.0.3", "@commitlint/cli": "^17.0.3",
@ -69,7 +69,7 @@
"vite": "^2.7.1", "vite": "^2.7.1",
"vite-plugin-mock": "^2.9.6", "vite-plugin-mock": "^2.9.6",
"vite-svg-loader": "^3.1.0", "vite-svg-loader": "^3.1.0",
"vue-tsc": "^0.34.11" "vue-tsc": "^1.0.8"
}, },
"config": { "config": {
"commitizen": { "commitizen": {

View File

@ -28,7 +28,6 @@ const defaultRouterList: Array<RouteRecordRaw> = [
{ {
path: '/', path: '/',
redirect: '/dashboard/base', redirect: '/dashboard/base',
component: () => import('@/layouts/blank.vue'),
}, },
{ {
path: '/:w+', path: '/:w+',