This commit is contained in:
xiaozhiyong
2023-02-28 09:22:10 +08:00
parent 51aa12621d
commit 1d0e1bd34e
13 changed files with 443 additions and 1004 deletions

View File

@@ -28,11 +28,9 @@ router.beforeEach(async (to, from, next) => {
try {
// let infoRes = await serve.getUserInfo();
// infoRes.data.authList = [1];
let infoRes = {
data: {
authList: [1],
},
};
let infoRes = await serve.info();
// infoRes.data.authList = infoRes.authList;
store.dispatch("user/info", infoRes.data);
let routerRes = await serve.getCustomerRouters();