Newer
Older
KaiFengPC / src / utils / ElMessageBox1.js
@zhangdeliang zhangdeliang on 20 May 409 bytes 项目初始化
import { ElMessageBox, ElMessage } from "element-plus";
export default  function emgBox1(id,siteAlarmWarningInfoDelM,msg){
  ElMessageBox.confirm(msg, {
      confirmButtonText: "确定",
      cancelButtonText: "取消",
      type: "warning",
    }).then(() => {
      siteAlarmWarningInfoDelM(id);
      // ElMessage({
      //   type: "success",
      //   message: '操作成功',
      // });
    });
}