@@ -420,8 +420,9 @@ export default {
this.form.doctorName = data.doctorName;
this.open = true;
this.title = "添加客户信息";
- }).catch(() => {
- this.$modal.msgError("获取销售与医生信息失败");
+ }).catch(error => {
+ const msg = error?.message || error?.msg || "获取销售与医生信息失败";
+ this.$modal.msgError(msg);
});
},
handleUpdate(row) {