From 311b8f7f38fc8156a8d4f4e472c140f26abf74c5 Mon Sep 17 00:00:00 2001 From: xiaomaiyun <923782299@qq.com> Date: Wed, 28 Dec 2022 08:29:46 +0000 Subject: [PATCH] =?UTF-8?q?[bugfix]=E4=BF=AE=E5=A4=8D=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E3=80=90=E7=B3=BB=E7=BB=9F=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E3=80=91-->=E3=80=90=E5=85=B6=E4=BB=96=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E3=80=91=E8=AE=B0=E5=BD=95=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xiaomaiyun <923782299@qq.com> --- .../src/views/dev/config/otherConfig/index.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/snowy-admin-web/src/views/dev/config/otherConfig/index.vue b/snowy-admin-web/src/views/dev/config/otherConfig/index.vue index 920300a7..0ea0fc46 100644 --- a/snowy-admin-web/src/views/dev/config/otherConfig/index.vue +++ b/snowy-admin-web/src/views/dev/config/otherConfig/index.vue @@ -83,9 +83,11 @@ } // 删除 const deleteConfig = (record) => { - let params = { - id: record.id - } + let params = [ + { + id: record.id + } + ] configApi.configDelete(params).then(() => { table.value.refresh(true) })