mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 添加多页签风格:按钮和浏览器两种风格
This commit is contained in:
@ -51,6 +51,12 @@ const appStore = defineStore({
|
||||
visible: false
|
||||
}
|
||||
}),
|
||||
getters: {
|
||||
activeMultiTabIndex(state) {
|
||||
const { routes, activeRoute } = state.multiTab;
|
||||
return routes.findIndex(v => v.fullPath === activeRoute);
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
/** 折叠/展开菜单 */
|
||||
handleMenuCollapse(collapsed: boolean) {
|
||||
|
Reference in New Issue
Block a user