this.$confirm('', { title: "批量通过提示", message: "确定批量通过所选内容?", iconClass: "el-icon-warning colorYellow", // confirmButtonText: '前往认证', //确认按钮的文字显示 // type: 'warning', // center: true, //文字居中显示 // showCancelButton: false, //不显示取消按钮 // showClose: false, //是否显示右上角的x // closeOnClickModal: false, //是否可以点击空白处关闭弹窗 }) .then(() => { // return columnDelete(item.id); // listBatch().then(res => { // console.log(res); // if (res.code == 200) { // this.$modal.msgSuccess("批量通过成功"); // } // }) console.log('yes'); }) .catch(() => { console.log('no'); });
Element之提示Confirm
最新推荐文章于 2023-11-28 10:32:28 发布