Update welcome.vue

This commit is contained in:
syuilo 2018-05-25 15:06:35 +09:00 committed by GitHub
parent 3aebd8311f
commit df89f5c8b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,6 +50,10 @@ export default Vue.extend({
this.$modal.show('signin');
},
dark() {
this.$store.commit('device/set', {
key: 'darkmode',
value: !this.$store.state.device.darkmode
});
}
}
});