From b8ce0e7f0652aab9d9b0df9c5fbaebd924d31cc2 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期日, 04 六月 2023 09:52:24 +0800
Subject: [PATCH] upbug

---
 src/App.vue |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/src/App.vue b/src/App.vue
index 0a5d3e6..f332f7e 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -6,23 +6,7 @@
 
 
 <script setup lang="ts">
-    import { Session } from '@/utils/storage'
-    import { userInfoStore } from '@/stores/userInfo'
-    import { ajaxPost} from '@/utils/axios'
-    const userInfo = userInfoStore()
-    const token =Session.get('token')
-    // const token='eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJQQVRfU0ZfUEFUMjQ0MTUyMTM4MzcwMjgyN19TRl8iLCJhdXRoIjpbeyJhdXRob3JpdHkiOiJhZG1pbiJ9XSwiaWF0IjoxNjY2ODQ4OTI4LCJleHAiOjE2NjcyMDg5Mjh9.R7BtrJHJJFywW6bytMWB6EVVYdD5rpMZQAcVnQG-8t4'
-    if (token){
-        Session.set('token', token)
-        console.log('token='+Session.get('token '))
-        ajaxPost('/patient/info/getPatientInfo','').then((re:any)=>{
-            console.log(re,'得到患者的信息getUserinfo')
-            userInfo.setPatient(re)
-        })
 
-    } else {
-        console.log('token为空')
-    }
 </script>
 
 <style scoped lang="scss">

--
Gitblit v1.8.0