@@ -220,7 +220,7 @@ router.beforeEach(async(to, from, next) => {
window._hmt.push(["_trackPageview", "/#" + to.fullPath]);
}
//获取权限按钮
- to.path != "/login"&&to.path!='/temppage'&&await store.dispatch('getPermissionButtons')
+ to.path != "/login"&&to.path!='/temppage'&&store.dispatch('getPermissionButtons')
next();
} else {
next({ path: "/404" });