From fa00320f6ed54d5165785d1a12e62846f00bfb31 Mon Sep 17 00:00:00 2001 From: Elune <201507802@qq.com> Date: Mon, 9 Mar 2020 09:15:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E5=85=B8=E6=94=AF=E6=8C=81=E5=A4=9A?= =?UTF-8?q?=E9=80=89=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/dict.js | 7 ++++--- src/views/system/dict/index.vue | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/api/system/dict.js b/src/api/system/dict.js index 11911cf..99170f7 100644 --- a/src/api/system/dict.js +++ b/src/api/system/dict.js @@ -15,10 +15,11 @@ export function add(data) { }) } -export function del(id) { +export function del(ids) { return request({ - url: 'api/dict/' + id, - method: 'delete' + url: 'api/dict/', + method: 'delete', + data: ids }) } diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue index cedcf38..1b87bb4 100644 --- a/src/views/system/dict/index.vue +++ b/src/views/system/dict/index.vue @@ -17,7 +17,7 @@ - +
@@ -47,7 +47,7 @@ - +
字典详情