From 324342800985a3e543a6ce308daeb219bdfbada0 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期日, 08 八月 2021 19:12:52 +0800 Subject: [PATCH] 优化用户不能删除自己 --- ruoyi-ui/src/views/system/notice/index.vue | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/views/system/notice/index.vue b/ruoyi-ui/src/views/system/notice/index.vue index 7da4798..cfbe761 100644 --- a/ruoyi-ui/src/views/system/notice/index.vue +++ b/ruoyi-ui/src/views/system/notice/index.vue @@ -177,13 +177,9 @@ <script> import { listNotice, getNotice, delNotice, addNotice, updateNotice } from "@/api/system/notice"; -import Editor from '@/components/Editor'; export default { name: "Notice", - components: { - Editor - }, data() { return { // 遮罩层 @@ -336,7 +332,7 @@ }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }) + }).catch(() => {}); } } }; -- Gitblit v1.9.2