diff --git a/src/views/theme/index.vue b/src/views/theme/index.vue index 071f1c51..f0655e2f 100644 --- a/src/views/theme/index.vue +++ b/src/views/theme/index.vue @@ -50,7 +50,7 @@ import { toggleClass } from 'utils'; export default { data() { return { - theme: '', + theme: false, tags: [ { name: '标签一', type: '' }, { name: '标签二', type: 'gray' }, @@ -68,9 +68,6 @@ export default { toggleClass(document.body, 'custom-theme') // this.$store.dispatch('setTheme', value); } - }, - methods: { - } };