fix:处理参数不对的问题
This commit is contained in:
@@ -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
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user