|
@@ -25,8 +25,8 @@ Vue.prototype.deleteRequest = deleteRequest;
|
|
|
router.beforeEach(async (to, from, next) => {
|
|
|
// document.title = "嘉讯茂移动办公平台"
|
|
|
if(window.sessionStorage.getItem("tokenStr")) {
|
|
|
- await initMenu(router, store);
|
|
|
await initSite(store);
|
|
|
+ initMenu(router, store);
|
|
|
console.log(store.state)
|
|
|
if(!window.sessionStorage.getItem('user')) {
|
|
|
//判断用户信息是否存在
|