force-app/main/default/lwc/lexCancel/lexCancel.js
@@ -4,7 +4,7 @@ * @Author: chen jing wu * @Date: 2023-03-27 13:47:21 * @LastEditors: chen jing wu * @LastEditTime: 2023-04-11 16:44:49 * @LastEditTime: 2023-08-25 16:41:19 */ import { api, wire,LightningElement } from 'lwc'; import { CurrentPageReference } from "lightning/navigation"; @@ -55,9 +55,10 @@ showToast(msg,type) { const event = new ShowToastEvent({ title: '', title: ' ', message: msg, variant: type variant: type, mode: 'sticky' }); this.dispatchEvent(event); }