张田田 пре 11 месеци
родитељ
комит
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);