Commit d8e62c14 authored by jingnan's avatar jingnan 👀

合并产品【7216】页面配置了我的空间后 配置画布的监听方法不生效

parent 6d803eff
...@@ -64,10 +64,11 @@ export default { ...@@ -64,10 +64,11 @@ export default {
}, },
methods: { methods: {
getModelName(data) { getModelName(data) {
if (data.modelNames) { if (data && data.modelNames) {
this.options = data.modelNames || [] this.options = data.modelNames || []
this.bindValue = this.options.length ? this.options[0].modelName : '' this.bindValue = this.options.length ? this.options[0].modelName : ''
} }
this.handleChange()
}, },
handleChange() { handleChange() {
this.resultKey++ this.resultKey++
......
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