Skip to content

Commit 3dfa8f2

Browse files
uyarntimi137137
andauthored
fix: fix tabs page error in production after 3.4 (#796)
* chore: upgrade component version to fix production error * chore: upgrade component version to fix production error * chore: comment * chore: 新增标签 --------- Co-authored-by: 悠静萝莉 <[email protected]>
1 parent cace4ca commit 3dfa8f2

File tree

3 files changed

+152
-44
lines changed

3 files changed

+152
-44
lines changed

package-lock.json

+148-41
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
"qrcode.vue": "^3.4.1",
3333
"qs": "^6.11.2",
3434
"tdesign-icons-vue-next": "^0.2.2",
35-
"tdesign-vue-next": "^1.9.9",
35+
"tdesign-vue-next": "^1.10.5",
3636
"tvision-color": "^1.6.0",
37-
"vue": "3.3.13",
37+
"vue": "^3.5.0",
3838
"vue-i18n": "^9.9.1",
3939
"vue-router": "~4.3.0"
4040
},

src/types/interface.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ export interface RouteMeta {
1515
}
1616

1717
export interface MenuRoute {
18-
path: string;
18+
// TODO: menuitem 组件实际支持 string 类型但是类型错误,暂时使用 any 类型避免打包错误待组件类型修复
19+
path: any;
1920
title?: string | Record<string, string>;
2021
name?: string;
2122
icon?:

0 commit comments

Comments
 (0)