no message
Former-commit-id: 13419f92c5622fbfbf7f17334bf46f5c81802dd4 [formerly 13419f92c5622fbfbf7f17334bf46f5c81802dd4 [formerly 13419f92c5622fbfbf7f17334bf46f5c81802dd4 [formerly 13419f92c5622fbfbf7f17334bf46f5c81802dd4 [formerly 3b8db4da8eda0c4494cdd75da070738913a6daf7 [formerly f043a2c0f06c85cace241c6b18079dbb3dfcd35d]]]]] Former-commit-id: f8735b5cac364ed161b41d810a0bf228e7f09f66 Former-commit-id: 6b9840fd8d662b2f8a1ac7b1275c6d6e6f21f37d Former-commit-id: 54fe457fd4810e591f1f91f2d6acab18587112b4 [formerly 34a25898a147c7634a8577ba93ae9f400f43efda] Former-commit-id: 894d636a82ec1199bf9e888a5deed49d1b41e2a7 Former-commit-id: 7e7162eb76c4a15081f15694c0b3e4f006e7c145 Former-commit-id: ea613e712c64fdd0a11f1dfd516801003981ff03 Former-commit-id: 49349d6c0c2151dad24c32c359ab4f56f69343e6 Former-commit-id: 295dba6f186293af1302c32ce13b34fd4425593c
This commit is contained in:
@@ -4,6 +4,10 @@ import themeList from '@/assets/style/theme/list.js'
|
||||
|
||||
export default {
|
||||
state: {
|
||||
// 拉取的最新版本信息
|
||||
releases: {},
|
||||
// 有更新
|
||||
update: false,
|
||||
// 全屏
|
||||
isFullScreen: false,
|
||||
// 灰度
|
||||
@@ -52,6 +56,24 @@ export default {
|
||||
}).write()
|
||||
}
|
||||
},
|
||||
/**
|
||||
* @description 更新远端的版本信息
|
||||
* @class releases
|
||||
* @param {state} state vuex state
|
||||
* @param {object} releases info
|
||||
*/
|
||||
d2adminReleasesSet (state, releases) {
|
||||
state.releases = releases
|
||||
},
|
||||
/**
|
||||
* @description 设置是否有更新
|
||||
* @class update
|
||||
* @param {state} state vuex state
|
||||
* @param {boolean} update update value
|
||||
*/
|
||||
d2adminUpdateSet (state, update) {
|
||||
state.update = update
|
||||
},
|
||||
/**
|
||||
* @class pageCurrent
|
||||
* @description 设置当前激活的页面 name
|
||||
|
||||
Reference in New Issue
Block a user