Commit f1aa01a2 authored by Pan's avatar Pan

fix theme example bug

parent 5cd245ac
...@@ -50,7 +50,7 @@ import { toggleClass } from 'utils'; ...@@ -50,7 +50,7 @@ import { toggleClass } from 'utils';
export default { export default {
data() { data() {
return { return {
theme: '', theme: false,
tags: [ tags: [
{ name: '标签一', type: '' }, { name: '标签一', type: '' },
{ name: '标签二', type: 'gray' }, { name: '标签二', type: 'gray' },
...@@ -68,9 +68,6 @@ export default { ...@@ -68,9 +68,6 @@ export default {
toggleClass(document.body, 'custom-theme') toggleClass(document.body, 'custom-theme')
// this.$store.dispatch('setTheme', value); // this.$store.dispatch('setTheme', value);
} }
},
methods: {
} }
}; };
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment