📅  最后修改于: 2022-03-11 14:58:05.193000             🧑  作者: Mango
showErrorToast() {
const evt = new ShowToastEvent({
title: 'Toast Error',
message: 'Some unexpected error',
variant: 'error',
mode: 'dismissable'
});
this.dispatchEvent(evt);
}