Commit d1b81e08 authored by limengyang's avatar limengyang

fix: 列表搜索问题

parent 4192a3f7
...@@ -390,14 +390,22 @@ wepy.page({ ...@@ -390,14 +390,22 @@ wepy.page({
onSelect(event) { onSelect(event) {
this.projectSources = event.$wx.detail.name this.projectSources = event.$wx.detail.name
this.showPicker = false this.showPicker = false
if (this.activeTitle === '试剂耗材') {
this.getList() this.getList()
} else {
this.getSydwList()
}
}, },
onClose() { onClose() {
this.showPicker = false this.showPicker = false
}, },
clearProjectSource() { clearProjectSource() {
this.projectSources = '' this.projectSources = ''
if (this.activeTitle === '试剂耗材') {
this.getList() this.getList()
} else {
this.getSydwList()
}
} }
}, },
onShow() { onShow() {
......
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