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 @@ - +
字典详情