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