|
@@ -67,15 +67,17 @@ Vue.prototype.doMian = '/jeecg-boot/'
|
|
|
Vue.prototype.postFormAction = postFormAction
|
|
|
Vue.prototype.postDataAction = postAction
|
|
|
Vue.prototype.getAction = getAction
|
|
|
-//登陆界面logo
|
|
|
-Vue.prototype.imgUrl = require("@assets/logo-blue.png")
|
|
|
-//首页左上角logo
|
|
|
-Vue.prototype.logoUrl = require("@assets/logo-cd-left.png")
|
|
|
+
|
|
|
+
|
|
|
Vue.use(dataV)
|
|
|
new Vue({
|
|
|
router,
|
|
|
store,
|
|
|
mounted () {
|
|
|
+ this.$store.state.imgUrl = config.imgUrl
|
|
|
+ this.$store.state.logoUrl = config.logoUrl
|
|
|
+ this.$store.state.bottonTitle = config.bottonTitle
|
|
|
+ this.$store.state.mode = config.mode
|
|
|
store.commit('SET_SIDEBAR_TYPE', Vue.ls.get(SIDEBAR_TYPE, true))
|
|
|
store.commit('TOGGLE_THEME', Vue.ls.get(DEFAULT_THEME, config.navTheme))
|
|
|
store.commit('TOGGLE_LAYOUT_MODE', Vue.ls.get(DEFAULT_LAYOUT_MODE, config.layout))
|