|
|
@ -2,7 +2,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
import config from 'app/core/config'; |
|
|
|
import config from 'app/core/config'; |
|
|
|
import _ from 'lodash'; |
|
|
|
import _ from 'lodash'; |
|
|
|
import $ from 'jquery'; |
|
|
|
|
|
|
|
import coreModule from 'app/core/core_module'; |
|
|
|
import coreModule from 'app/core/core_module'; |
|
|
|
import store from 'app/core/store'; |
|
|
|
import store from 'app/core/store'; |
|
|
|
|
|
|
|
|
|
|
@ -34,6 +33,13 @@ export class ContextSrv { |
|
|
|
this.sidemenu = true; |
|
|
|
this.sidemenu = true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!config.buildInfo) { |
|
|
|
|
|
|
|
config.buildInfo = {}; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (!config.bootData) { |
|
|
|
|
|
|
|
config.bootData = {user: {}, settings: {}}; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
this.version = config.buildInfo.version; |
|
|
|
this.version = config.buildInfo.version; |
|
|
|
this.lightTheme = false; |
|
|
|
this.lightTheme = false; |
|
|
|
this.user = new User(); |
|
|
|
this.user = new User(); |
|
|
|