fix: 根据角色返回不同数据,权限管理

This commit is contained in:
xiaoxian521
2021-05-28 02:05:24 +08:00
parent ad0281839f
commit a26f711d83
4 changed files with 33 additions and 24 deletions

View File

@@ -50,9 +50,7 @@ export const getServerConfig = async (): Promise<any> => {
};
getServerConfig().then(async () => {
app.use(router).use(store).use(useElementPlus).use(useTable).use(usI18n);
app.use(router);
await router.isReady();
app.mount("#app");
app.use(store).use(useElementPlus).use(useTable).use(usI18n).mount("#app");
});