中药检索完成

This commit is contained in:
yanwenlong
2024-01-30 23:55:06 +08:00
parent 927aeec7c0
commit 89e438bd3f
5 changed files with 238 additions and 140 deletions

View File

@@ -58,7 +58,7 @@
</view>
</view>
</view>
<view v-show="curFirstTabIndex==1">
<view v-if="curFirstTabIndex==1">
<medicineSearch ref="mSearch"></medicineSearch>
</view>
</view>
@@ -223,7 +223,9 @@
// this.setOneCateIndex(id)
console.log(this.$refs)
console.log(this.$refs.mSearch)
this.$refs.mSearch.getCNYao()
this.$nextTick(() => {
this.$refs.mSearch.getCNYao()
})
}else{
this.setOneCateIndex(this.oneCateList[0], 0)
}