|
@@ -122,7 +122,8 @@
|
|
var commonIconInfoList = response ? response.commonIconInfoList : '';
|
|
var commonIconInfoList = response ? response.commonIconInfoList : '';
|
|
this.set_common_menu_list(commonIconInfoList);
|
|
this.set_common_menu_list(commonIconInfoList);
|
|
|
|
|
|
- this.asynCallBack();
|
|
|
|
|
|
+ //获取所有功能列表
|
|
|
|
+ this.getAllFunList();
|
|
|
|
|
|
}).catch(error => {
|
|
}).catch(error => {
|
|
mui.toast(error);
|
|
mui.toast(error);
|
|
@@ -135,9 +136,6 @@
|
|
var token = response;
|
|
var token = response;
|
|
this.set_fun_list(token);
|
|
this.set_fun_list(token);
|
|
|
|
|
|
- this.projectExchange();
|
|
|
|
- this.$emit('asynCallBack');
|
|
|
|
-
|
|
|
|
}).catch(error => {
|
|
}).catch(error => {
|
|
mui.toast(error);
|
|
mui.toast(error);
|
|
})
|
|
})
|
|
@@ -156,8 +154,8 @@
|
|
|
|
|
|
//异步回调父组件的方法
|
|
//异步回调父组件的方法
|
|
asynCallBack() {
|
|
asynCallBack() {
|
|
- //获取所有功能列表
|
|
|
|
- this.getAllFunList();
|
|
|
|
|
|
+ this.projectExchange();
|
|
|
|
+ this.$emit('asynCallBack');
|
|
},
|
|
},
|
|
...mapMutations({
|
|
...mapMutations({
|
|
set_openid: types.SET_WEIXIN_OPENID,
|
|
set_openid: types.SET_WEIXIN_OPENID,
|