From d268a8f040e229087d8a616c2e98e4180f04dfbf Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 21 十月 2022 15:30:51 +0800
Subject: [PATCH] up
---
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