This commit is contained in:
parent
d29459fa37
commit
83c819a130
3 changed files with 57 additions and 10 deletions
|
|
@ -68,6 +68,13 @@ export default (os: MiOS) => new Vuex.Store({
|
|||
mutations: {
|
||||
set(state, x: { key: string; value: any }) {
|
||||
state[x.key] = x.value;
|
||||
},
|
||||
|
||||
setTl(state, x) {
|
||||
state.tl = {
|
||||
src: x.src,
|
||||
arg: x.arg
|
||||
};
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue