mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2026-02-12 12:44:26 +08:00
v3.17.0 【新增】新增菜单展开1个配置;【新增】移除表格固定高度;【新增】App登录token模式
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user