修改标准无法选择的问题
This commit is contained in:
@@ -143,7 +143,7 @@
|
||||
handleSubmit() {
|
||||
let content = []
|
||||
this.content.forEach(res => {
|
||||
content.push(res.name)
|
||||
content.push(res.title)
|
||||
})
|
||||
this.$emit('input', content.join(','))
|
||||
this.visible = false
|
||||
@@ -152,15 +152,15 @@
|
||||
this.$emit('input', event.target.value)
|
||||
},
|
||||
onSelectChange(value) {
|
||||
this.selectedRowKeys = value
|
||||
this.content = []
|
||||
value.forEach(val => {
|
||||
this.data.forEach((res) => {
|
||||
if (res.key === val) {
|
||||
this.dataList.forEach((res) => {
|
||||
if (res.id === val) {
|
||||
this.content.push(res)
|
||||
}
|
||||
})
|
||||
})
|
||||
this.selectedRowKeys = value
|
||||
},
|
||||
searchQuery() {
|
||||
this.replacePage()
|
||||
|
||||
Reference in New Issue
Block a user