张田田 10 месяцев назад
Родитель
Сommit
42ddeaecca
1 измененных файлов с 8 добавлено и 8 удалено
  1. 8 8
      miniprogram/components/tabbar/tabbar.ts

+ 8 - 8
miniprogram/components/tabbar/tabbar.ts

@@ -58,14 +58,14 @@ Component({
     },
     toChatsPage(page: string) {
       // console.log(this.data.patientId, "patientId", page);
-      if (!this.data?.patientId) {
-        wx.showModal({
-          title: "出错了",
-          content: "错误,请重试",
-          showCancel: false,
-        });
-        return;
-      }
+      // if (!this.data?.patientId) {
+      //   wx.showModal({
+      //     title: "出错了",
+      //     content: "错误,请重试",
+      //     showCancel: false,
+      //   });
+      //   return;
+      // }
       wx.redirectTo({
         url: `${page}?component=guide&isShowGuide=true`,
       });