Newer
Older
KaiFengPC / src / utils / ElMessageBox1.js
@zhangdeliang zhangdeliang on 23 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: '操作成功',
      // });
    });
}