ソースを参照

修改扫码进注册页

张田田 1 年間 前
コミット
472c0bda21
1 ファイル変更3 行追加0 行削除
  1. 3 0
      miniprogram/pages/home/home.ts

+ 3 - 0
miniprogram/pages/home/home.ts

@@ -235,6 +235,9 @@ Page({
       // if (!patient) await toCertificationPage();
       if (!patient) {
         console.log("没有患者");
+        if(wx.getStorageSync("doctorId")){
+          toCertificationPage();
+        }
       }else {
         this.setData({ patient });
         this.observerPatient(patient);