delete user and authority info

This commit is contained in:
许晓东
2021-09-02 19:56:21 +08:00
parent 4f30511293
commit 75ee8bb2bf
11 changed files with 161 additions and 36 deletions

View File

@@ -0,0 +1,36 @@
<template>
<a-popconfirm
:title="title"
ok-text="确认"
cancel-text="取消"
@confirm="confirm"
@cancel="cancel"
>
</a-popconfirm>
</template>
<script>
export default {
name: "ConfirmDialog",
props: {
title: {
type: String,
default: "",
},
confirmEvent: {
default: "",
},
},
methods: {
confirm(e) {
console.log(e);
this.$message.success("Click on Yes");
},
cancel(e) {
console.log(e);
this.$message.error("Click on No");
},
},
};
</script>
<style scoped></style>