|
@@ -643,9 +643,9 @@ Router.prototype.push = function push(location) {
|
|
|
}
|
|
|
|
|
|
router.beforeEach(async (to, from, next) => {
|
|
|
- // if (!store.state.TENANT_NANE) {
|
|
|
- // await store.dispatch('findTenantId')
|
|
|
- // }
|
|
|
+ if (!store.state.TENANT_NANE) {
|
|
|
+ await store.dispatch('findTenantId')
|
|
|
+ }
|
|
|
|
|
|
if (!store.state.footer.length) {
|
|
|
store.dispatch("getCommonBaseHomeList");
|