force-app/main/default/lwc/lexNewOpportunityFile/lexNewOpportunityFile.js
@@ -4,7 +4,7 @@ * @Author: chen jing wu * @Date: 2023-06-29 16:43:08 * @LastEditors: chen jing wu * @LastEditTime: 2023-06-29 17:07:54 * @LastEditTime: 2023-09-11 15:35:43 */ import { api, wire,LightningElement } from 'lwc'; import { CurrentPageReference } from "lightning/navigation"; @@ -34,9 +34,10 @@ } showToast(msg,type) { const event = new ShowToastEvent({ title: '', title: ' ', message: msg, variant: type variant: type, mode: 'sticky' }); this.dispatchEvent(event); }