fix theme example bug

This commit is contained in:
Pan 2017-06-23 21:19:30 +08:00
parent 5cd245ac15
commit f1aa01a233
1 changed files with 1 additions and 4 deletions

View File

@ -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 {
toggleClass(document.body, 'custom-theme') toggleClass(document.body, 'custom-theme')
// this.$store.dispatch('setTheme', value); // this.$store.dispatch('setTheme', value);
} }
},
methods: {
} }
}; };
</script> </script>