Commit 4824910c by qiaoyanqi

基础数据屏蔽一个不用的方法

parent e18ffe10
......@@ -180,22 +180,22 @@ export default {
this.getBaseDataList()
},
handleBlur() {
if (!this.onResultList) {
this.hasFocus = false
this.dataListShow = false
}
// if (!this.onResultList) {
// this.hasFocus = false
// this.dataListShow = false
// }
this.selectValue = String(this.selectValue)
if (this.value === null) {
this.selectValue = ''
this.selectIndex = -1
this.selectedItem = {}
} else {
this.selectValue = this.value.name
this.selectedItem = this.value
this.findIndex()
}
this.$emit('data-change', this.value)
// this.selectValue = String(this.selectValue)
// if (this.value === null) {
// this.selectValue = ''
// this.selectIndex = -1
// this.selectedItem = {}
// } else {
// this.selectValue = this.value.name
// this.selectedItem = this.value
// this.findIndex()
// }
// this.$emit('data-change', this.value)
},
// 输入查询时
handleChange() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment