From b34535a0b4579da937cee8188f8f3fd249a028c3 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 27 九月 2022 16:25:57 +0800
Subject: [PATCH] up

---
 src/views/prescriptionDrug/index.vue |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/views/prescriptionDrug/index.vue b/src/views/prescriptionDrug/index.vue
index 020791d..2135fd8 100644
--- a/src/views/prescriptionDrug/index.vue
+++ b/src/views/prescriptionDrug/index.vue
@@ -4,6 +4,7 @@
             title=""
             left-text="返回"
             left-arrow
+            @click="fanhui"
         />
         <div class="inputdiv">
             <van-field left-icon="search" class="input" v-model="inputValue" placeholder="模糊匹配项目、日期检索" />
@@ -44,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{

--
Gitblit v1.8.0