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