force-app/main/default/lwc/lexNewOPDButtonAccount/lexNewOPDButtonAccount.js
@@ -7,7 +7,7 @@ const event1 = new ShowToastEvent({ message: "科室状态为无效,不允许新建OPD计划", variant : "warning" variant : "error" }); import init from '@salesforce/apex/LexOPDSupplementaryController.initNewOPDButton'; export default class lexNewOPDButtonAccount extends NavigationMixin(LightningElement) { @@ -31,7 +31,6 @@ connectedCallback(){ init({recordId:this.recordId}).then(res=>{ if (res!=null) { console.log(res); this.Account=res; this.newOPDButtonAccount().then(res=>{ this.IsLoading=false;