Newer
Older
Nanping_sponge_GCGL / src / utils / ElMessageBox1.js
@liyingjing liyingjing on 25 Oct 2023 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: '操作成功',
      // });
    });
}