Commit deef1124 by 胡悦

更新

1 parent 5ffcbde4
...@@ -13,7 +13,7 @@ import VeeValidate, { Validator } from 'vee-validate' ...@@ -13,7 +13,7 @@ import VeeValidate, { Validator } from 'vee-validate'
import { Tree } from '@/components' import { Tree } from '@/components'
Vue.use(GlsxVueComponents) Vue.use(GlsxVueComponents)
Vue.component('tree', Tree) Vue.component('tree', Tree)
import Theme from '@/common/theme' // import Theme from '@/common/theme'
const config = { const config = {
errorBagName: 'errorBags', errorBagName: 'errorBags',
...@@ -34,7 +34,7 @@ var mixin = { ...@@ -34,7 +34,7 @@ var mixin = {
}, },
mounted() { mounted() {
const _this = this const _this = this
const theme = new Theme() const theme = new this.$Theme()
this.connection = this.$Penpal.connectToParent({ this.connection = this.$Penpal.connectToParent({
methods: { methods: {
setTheme(color) { setTheme(color) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!