export default function emgBox1(id,siteAlarmWarningInfoDelM,msg){ ElMessageBox.confirm(msg, { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", }).then(() => { siteAlarmWarningInfoDelM(id); // ElMessage({ // type: "success", // message: '操作成功', // }); }); }