Commit 4824910c by qiaoyanqi

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

parent e18ffe10
...@@ -180,22 +180,22 @@ export default { ...@@ -180,22 +180,22 @@ export default {
this.getBaseDataList() this.getBaseDataList()
}, },
handleBlur() { handleBlur() {
if (!this.onResultList) { // if (!this.onResultList) {
this.hasFocus = false // this.hasFocus = false
this.dataListShow = false // this.dataListShow = false
} // }
this.selectValue = String(this.selectValue) // this.selectValue = String(this.selectValue)
if (this.value === null) { // if (this.value === null) {
this.selectValue = '' // this.selectValue = ''
this.selectIndex = -1 // this.selectIndex = -1
this.selectedItem = {} // this.selectedItem = {}
} else { // } else {
this.selectValue = this.value.name // this.selectValue = this.value.name
this.selectedItem = this.value // this.selectedItem = this.value
this.findIndex() // this.findIndex()
} // }
this.$emit('data-change', this.value) // this.$emit('data-change', this.value)
}, },
// 输入查询时 // 输入查询时
handleChange() { 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