Former-commit-id: bb6f09e83ff6e530a4bf49d46c6b0d1168a93246
This commit is contained in:
FairyEver
2019-09-25 16:13:46 +08:00
parent 0112b7d514
commit 0304d22852
10 changed files with 88 additions and 31 deletions
+5 -2
View File
@@ -85,8 +85,7 @@
<a
v-for="language in $languages"
:key="language.value"
:command="language.value"
@click="$i18n.locale = language.value">
@click="onChangeLocale(language.value)">
{{ language.label }}
</a>
</p>
@@ -125,7 +124,11 @@
<script>
import dayjs from 'dayjs'
import { mapActions } from 'vuex'
import localeMixin from '@/locales/mixin.js'
export default {
mixins: [
localeMixin
],
data () {
return {
timeInterval: null,