Merge branch 'develop' of github.com:Tencent/tdesign-vue-next-starter into main

This commit is contained in:
Uyarn 2022-10-26 14:03:48 +08:00
commit 4ebec48301
3 changed files with 5 additions and 6 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

@ -53,8 +53,8 @@
</t-button> </t-button>
</t-dropdown> </t-dropdown>
<t-tooltip placement="bottom" content="系统设置"> <t-tooltip placement="bottom" content="系统设置">
<t-button theme="default" shape="square" variant="text"> <t-button theme="default" shape="square" variant="text" @click="toggleSettingPanel">
<t-icon name="setting" @click="toggleSettingPanel" /> <t-icon name="setting" />
</t-button> </t-button>
</t-tooltip> </t-tooltip>
</div> </div>

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+',