edit
This commit is contained in:
@ -155,8 +155,8 @@ export class EAUserService extends BaseService {
|
||||
return this.asyncRequest(this.$api_get_user_menus, {
|
||||
appId: this.envSrv.getEnvironment().appId
|
||||
}).then(res => {
|
||||
this.cacheSrv.set(cacheConf.menu, res.data);
|
||||
this.menuService.add(res.data);
|
||||
this.cacheSrv.set(cacheConf.menu, res);
|
||||
this.menuService.add(res);
|
||||
});
|
||||
// this.request('assets/mocks/menu-data.json', {}, 'GET').subscribe((res: any) => {
|
||||
// this.cacheSrv.set(cacheConf.menu, res.menu);
|
||||
|
||||
Reference in New Issue
Block a user