v3.17.0 【新增】新增菜单展开1个配置;【新增】移除表格固定高度;【新增】App登录token模式

This commit is contained in:
zhuoda
2025-04-08 20:19:41 +08:00
parent 33c93ae365
commit 7ea97f8433
20 changed files with 95 additions and 57 deletions

View File

@@ -99,17 +99,10 @@ async function initVue() {
//挂载
app.mount('#app');
}
function setTableYHeight() {
Table.props.scroll.default = {
y: useAppConfigStore().tableYHeight,
};
}
//不需要获取用户信息、用户菜单、用户菜单动态路由直接初始化vue即可
let token = localRead(LocalStorageKeyConst.USER_TOKEN);
if (!token) {
await initVue();
setTableYHeight();
} else {
await getLoginInfo();
setTableYHeight();
}