import { InfoFilled, SuccessFilled } from "@element-plus/icons-vue";
import { ElMessage, ElMessageBox } from "element-plus";
import { markRaw } from "vue";

export const confirm = (msg: string) =>
  ElMessageBox.confirm(msg, "系统提示", {
    type: "warning",
    // icon: markRaw(InfoFilled),
  });
export const alert = (msg: string) =>
  ElMessageBox.alert(msg, "系统提示", {
    type: "warning",
    // icon: markRaw(SuccessFilled),
  });
