el-dialog的js使用方式

        this.$confirm("提交后不允许编辑,是否继续提交?", "提示", {
            confirmButtonText: "确定提交",
            cancelButtonText: "取消",
            type: "warning",
          })
            .then(() => {
              this.submitForm("ruleForm", 0, "sureWaiver");
            })
            .catch(() => {});

 

posted @ 2023-09-01 16:03  ThisCall  阅读(199)  评论(0编辑  收藏  举报