fix theme example bug
This commit is contained in:
parent
5cd245ac15
commit
f1aa01a233
1 changed files with 1 additions and 4 deletions
|
@ -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: {
|
||||
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue