feat:searchInput的回显
This commit is contained in:
@@ -37,9 +37,10 @@ export default {
|
||||
setTimeout(() => {
|
||||
const obj = lodash.cloneDeep(val.defaultJson)
|
||||
obj[val.jsonKey] = qv
|
||||
console.log(obj[val.jsonKey])
|
||||
this.$refs[dataList].$refs.searchInput.select_list.push(obj)
|
||||
this.$refs[dataList].$refs.searchInput.sreach_num++
|
||||
if (obj[val.jsonKey]) {
|
||||
this.$refs[dataList].$refs.searchInput.select_list.push(obj)
|
||||
this.$refs[dataList].$refs.searchInput.sreach_num++
|
||||
}
|
||||
// this.$refs[dataList].$refs.searchInput.searchLabelList = this.$refs[dataList].$refs.searchInput.searchLabelList.filter(item => item.label !== 'projectIds')
|
||||
}, 500)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user