|
|
@@ -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`,
|
|
|
});
|