forked from FoundKeyGang/FoundKey
Update welcome.vue
This commit is contained in:
parent
3aebd8311f
commit
df89f5c8b8
1 changed files with 4 additions and 0 deletions
|
@ -50,6 +50,10 @@ export default Vue.extend({
|
||||||
this.$modal.show('signin');
|
this.$modal.show('signin');
|
||||||
},
|
},
|
||||||
dark() {
|
dark() {
|
||||||
|
this.$store.commit('device/set', {
|
||||||
|
key: 'darkmode',
|
||||||
|
value: !this.$store.state.device.darkmode
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue