未验证 提交 b3efcdfe 编写于 作者: S songjianet 提交者: GitHub

[Fix][Create Warning Instance Edit] Fix the problem of incomplete display of the edit form. (#7096)

上级 463fc76b
...@@ -173,21 +173,18 @@ ...@@ -173,21 +173,18 @@
}, },
watch: {}, watch: {},
created () { created () {
let pluginInstanceParams = []
if (this.item) { if (this.item) {
this.instanceName = this.item.instanceName this.instanceName = this.item.instanceName
this.pluginDefineId = this.item.pluginDefineId this.pluginDefineId = this.item.pluginDefineId
JSON.parse(this.item.pluginInstanceParams).forEach(item => { this.rule = JSON.parse(this.item.pluginInstanceParams).map(item => {
if (item.title.indexOf('$t') !== -1) { if (item.title.indexOf('$t') !== -1) {
item.title = this.$t(item.field) item.title = this.$t(item.field)
} }
pluginInstanceParams.push(item) item.props = item.props || {}
return item
}) })
this.rule = pluginInstanceParams
} }
}, },
mounted () {
},
components: { mPopover, mListBoxF } components: { mPopover, mListBoxF }
} }
</script> </script>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册