This commit is contained in:
syuilo
2018-05-17 23:53:55 +09:00
parent 89a58dc596
commit 4ad51672c1
3 changed files with 20 additions and 9 deletions

View File

@ -24,10 +24,15 @@ export default (os: MiOS) => new Vuex.Store({
}],
state: {
indicate: false,
uiHeaderHeight: 0
},
mutations: {
indicate(state, x) {
state.indicate = x;
},
setUiHeaderHeight(state, height) {
state.uiHeaderHeight = height;
}