添加了添加/修改/删除的成功失败提示框,删除了无用的import和语句

This commit is contained in:
MiLla 2024-07-06 14:27:22 +08:00
parent 0fe8c3247c
commit 00605c5eae

View File

@ -211,7 +211,7 @@ export default defineComponent({
organizationService.addOrganization(dialogFormAdd.value); organizationService.addOrganization(dialogFormAdd.value);
ElMessage({ ElMessage({
type: 'success', type: 'success',
message: `添加成功`, message: `成功`,
}) })
showDialogAdd.value = false; showDialogAdd.value = false;
@ -251,7 +251,7 @@ export default defineComponent({
.catch(() => { .catch(() => {
ElMessage({ ElMessage({
type: 'info', type: 'info',
message: 'Delete canceled', message: '取消删除',
}) })
}) })