no message
Former-commit-id: 96250187c533034716b9e2bcba61d3b3ee75c5de [formerly 96250187c533034716b9e2bcba61d3b3ee75c5de [formerly 96250187c533034716b9e2bcba61d3b3ee75c5de [formerly 96250187c533034716b9e2bcba61d3b3ee75c5de [formerly 5d5f3951bf5ce9bed72bba857d5efc7be28d0d0f [formerly d51ea59b08fe986a2a3bf20ecaf80d39f73d226c]]]]] Former-commit-id: c65de2b5ba48292ae13ddfe7887ed785df9a0706 Former-commit-id: 7af23ce341995319ff8e438109a5f731f5dd575a Former-commit-id: d598da797839b94a32d143bac7844611fa9643cd [formerly 0e1163b74e2561173fa4b368f8cba552132f9b3e] Former-commit-id: 7bb3c63887ea19e35b6c53754f0aad4aa7cca198 Former-commit-id: b64f421901a8e5448b1d73985117d3bd58024337 Former-commit-id: e000fd19bce74cc3580f50073b3ede2a0eff1a4b Former-commit-id: 8fc3d52f3d7f60423f9f1ad22d2a182b198b71ff Former-commit-id: 43812b0cfb692dc05964da5d4bc70d88b55df5aa
This commit is contained in:
@@ -75,7 +75,7 @@ Vue.use(bigdataTable)
|
||||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
Vue.prototype.$env = process.env.NODE_ENV === 'development'
|
||||
Vue.prototype.$env = process.env.NODE_ENV
|
||||
|
||||
Vue.prototype.$assetsPublicPath = process.env.NODE_ENV === 'development' ? buildConfig.dev.assetsPublicPath : buildConfig.build.assetsPublicPath
|
||||
|
||||
@@ -92,8 +92,10 @@ new Vue({
|
||||
this.getAllTagFromRoutes()
|
||||
},
|
||||
mounted () {
|
||||
// D2Admin 检查更新
|
||||
util.checkUpdate(this)
|
||||
// D2Admin 开发环境检查更新
|
||||
if (this.$env === 'development') {
|
||||
util.checkUpdate(this)
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user