diff --git a/src/pages/index.wpy b/src/pages/index.wpy index 65563e6bdc7c9541b90f065297730ad5b12f8faf..03c3cf687e8f0ae3a8549c5a3f3e2323cc669536 100644 --- a/src/pages/index.wpy +++ b/src/pages/index.wpy @@ -390,14 +390,22 @@ wepy.page({ onSelect(event) { this.projectSources = event.$wx.detail.name this.showPicker = false - this.getList() + if (this.activeTitle === '试剂耗材') { + this.getList() + } else { + this.getSydwList() + } }, onClose() { this.showPicker = false }, clearProjectSource() { this.projectSources = '' - this.getList() + if (this.activeTitle === '试剂耗材') { + this.getList() + } else { + this.getSydwList() + } } }, onShow() {