this.$confirm("确认删除?", "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "error",
})
.then(() => {
this.$message.info('确认');
})
.catch(() => {
this.$message.info('取消');
});
El-ui 气泡确认框(this.$confirm...)
最新推荐文章于 2023-10-28 10:05:30 发布