Skip to content

Commit f1aa01a

Browse files
committed
fix theme example bug
1 parent 5cd245a commit f1aa01a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/views/theme/index.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ import { toggleClass } from 'utils';
5050
export default {
5151
data() {
5252
return {
53-
theme: '',
53+
theme: false,
5454
tags: [
5555
{ name: '标签一', type: '' },
5656
{ name: '标签二', type: 'gray' },
@@ -68,9 +68,6 @@ export default {
6868
toggleClass(document.body, 'custom-theme')
6969
// this.$store.dispatch('setTheme', value);
7070
}
71-
},
72-
methods: {
73-
7471
}
7572
};
7673
</script>

0 commit comments

Comments
 (0)