修改标准无法选择的问题

This commit is contained in:
qq787203167
2022-02-28 17:46:22 +08:00
parent 8f1d4b9847
commit 31a2ee2527
5 changed files with 43 additions and 30 deletions
@@ -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()