Explorar o código

fix: 没有name的时候唤起选择就诊人

carver %!s(int64=2) %!d(string=hai) anos
pai
achega
11a02f0bad

+ 1 - 1
antbuilder/industry/hospitalV2/components/order-pay/index.js

@@ -118,7 +118,7 @@ Component(
 					fee,
 					feeStr,
 				} = this.getQuery();
-				if (this.data.checkedPatient.name) {
+				if (this.data.checkedPatient && this.data.checkedPatient.name) {
 					makeAppointment({
 						doctorId: this.data.order.doctorId,
 						orderSourceId: this.data.order.orderSourceId,