src/views/prescriptionDrug/index.vue
@@ -1,5 +1,11 @@ <template> <div class="report"> <van-nav-bar title="" left-text="返回" left-arrow @click="fanhui" /> <div class="inputdiv"> <van-field left-icon="search" class="input" v-model="inputValue" placeholder="模糊匹配项目、日期检索" /> </div> @@ -39,7 +45,12 @@ </template> <script lang="ts" setup> import {ref,reactive,watchEffect,watch} from 'vue' import {useRouter} from 'vue-router' const router=useRouter() const inputValue=ref('') const fanhui=()=>{ router.go(-1) } </script> <style lang="scss"> .report{