From 6e5316ecd8e442edfe6dacf4d2cf47494151bc66 Mon Sep 17 00:00:00 2001 From: z_yu <1534695664@qq.com> Date: Mon, 13 Jun 2022 17:06:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=A8=E7=B1=BB=E7=AE=A1=E7=90=86=20Bug?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/category/category.js | 2 +- src/api/category/fieldManage.js | 4 ++-- src/views/category/descriptionPreview/index.vue | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/api/category/category.js b/src/api/category/category.js index da5857d..ba03a34 100644 --- a/src/api/category/category.js +++ b/src/api/category/category.js @@ -33,7 +33,7 @@ export function add(data) { } export function del(ids) { - const params = ids[0] + const params = { id: ids[0] } return request({ url: 'api/archives-type/delete-type', method: 'delete', diff --git a/src/api/category/fieldManage.js b/src/api/category/fieldManage.js index cf1f7c7..18e0c88 100644 --- a/src/api/category/fieldManage.js +++ b/src/api/category/fieldManage.js @@ -9,11 +9,11 @@ export function add(data) { } export function del(ids) { - const params = ids[0] + const params = { id: ids[0] } return request({ url: 'api/archives-type/delete-dic', method: 'delete', - id: params + params }) } diff --git a/src/views/category/descriptionPreview/index.vue b/src/views/category/descriptionPreview/index.vue index b3f63ed..2299284 100644 --- a/src/views/category/descriptionPreview/index.vue +++ b/src/views/category/descriptionPreview/index.vue @@ -28,7 +28,7 @@ 修改 排序 - +
@@ -42,7 +42,7 @@
- +