提交 66dbb43b 编写于 作者: tony001's avatar tony001

调整统一资源逻辑

上级 3aa5f737
...@@ -7,7 +7,7 @@ import * as mutations from './mutations'; ...@@ -7,7 +7,7 @@ import * as mutations from './mutations';
import * as getters from './getters'; import * as getters from './getters';
import viewaction from './modules/view-action' import viewaction from './modules/view-action'
import unifiedresource from './modules/unified-resource' import authresource from './modules/auth-resource'
const state = { const state = {
...rootstate ...rootstate
...@@ -22,7 +22,7 @@ const store = new Vuex.Store({ ...@@ -22,7 +22,7 @@ const store = new Vuex.Store({
getters, getters,
modules: { modules: {
viewaction, viewaction,
unifiedresource authresource
}, },
}); });
......
...@@ -67,7 +67,7 @@ export class AuthGuard { ...@@ -67,7 +67,7 @@ export class AuthGuard {
} }
router.app.$store.commit('addAppData', data); router.app.$store.commit('addAppData', data);
// 提交统一资源数据 // 提交统一资源数据
router.app.$store.dispatch('unifiedresource/commitResourceData', data); router.app.$store.dispatch('authresource/commitResourceData', data);
} }
} }
resolve(true); resolve(true);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册