edit
This commit is contained in:
@ -4,6 +4,7 @@ import { cacheConf } from '@conf/cache.conf';
|
||||
import { sysConf } from '@conf/sys.conf';
|
||||
import { ACLService } from '@delon/acl';
|
||||
import { MenuService, SettingsService, TitleService, _HttpClient } from '@delon/theme';
|
||||
import { environment } from '@env/environment';
|
||||
import { AmapService, EACacheService, EAUserService } from '@shared';
|
||||
import { NzSafeAny } from 'ng-zorro-antd/core/types';
|
||||
import { NzIconService } from 'ng-zorro-antd/icon';
|
||||
@ -46,7 +47,7 @@ export class StartupService {
|
||||
});
|
||||
|
||||
let data;
|
||||
if (this.coreSrv.loginStatus) {
|
||||
if (this.coreSrv.loginStatus && environment.production) {
|
||||
// 本地菜单
|
||||
// data = this.loadMockData();
|
||||
// 远程菜单
|
||||
|
||||
Reference in New Issue
Block a user