From 43af31998b7251ab5819bfb7f889d73b8a5c1e3d Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 21 十月 2022 15:25:44 +0800
Subject: [PATCH] 56

---
 src/stores/userInfo.ts |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/stores/userInfo.ts b/src/stores/userInfo.ts
index 56b0c4f..467892d 100644
--- a/src/stores/userInfo.ts
+++ b/src/stores/userInfo.ts
@@ -14,8 +14,8 @@
         info.value.headimgurl=userInfo.headimgurl
         info.value.nickname=userInfo.nickname
     }
-    function setPatient(patient:object) {
-        patient.value=patient
+    function setPatient(info:object) {
+        patient.value=info
     }
 
     return { info,patient,setPatient, setInfo }

--
Gitblit v1.8.0