feat(projects): 添加multiTab标签页

This commit is contained in:
Soybean
2021-09-17 08:31:49 +08:00
parent 789855a378
commit eec0b36f59
14 changed files with 130 additions and 37 deletions

View File

@ -47,8 +47,10 @@ const appStore = defineStore({
toggleMenu() {
this.menu.collapsed = !this.menu.collapsed;
},
/** 初始化多tab的数据 */
initMultiTab() {},
/** 添加多tab的数据 */
addMultiTab(route: RouteLocationNormalizedLoaded) {
this.multiTab.routes.push(route);
},
/** 打开配置抽屉 */
openSettingDrawer() {
this.settingDrawer.visible = true;