fix:处理参数不对的问题

This commit is contained in:
zhangyu
2022-04-02 17:41:24 +08:00
parent 16a1e9c8a6
commit 5cdc744b65

View File

@@ -494,6 +494,9 @@ export default {
if (!obj.param.max) { if (!obj.param.max) {
obj.param.max = 100 obj.param.max = 100
} }
if (!obj.param.text && obj.param.display) {
obj.param.text = obj.param.display
}
if (!obj.param.link) { if (!obj.param.link) {
this.$set(obj.param, 'link', '') this.$set(obj.param, 'link', '')
} }
@@ -516,6 +519,12 @@ export default {
if (!item.show) { if (!item.show) {
item.show = false item.show = false
} }
if (item.text && !item.display) {
item.display = item.text
}
if (item.columns && !item.column) {
item.column = item.columns
}
}) })
} }
} }