From 3a5d29e6dffa18e5e44579360e4c278acc3b8423 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期五, 21 五月 2021 14:30:14 +0800 Subject: [PATCH] 完善bhomebus 的 api 接口 --- src/pages/library/components/baseList.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/library/components/baseList.vue b/src/pages/library/components/baseList.vue index d56c868..61fc233 100644 --- a/src/pages/library/components/baseList.vue +++ b/src/pages/library/components/baseList.vue @@ -246,8 +246,8 @@ cancelButtonClass: 'comfirm-class-cancle', confirmButtonClass: 'comfirm-class-sure' }).then(() => { - fetch(`/data/api-v/dbtable/deleteDBtablesById/${id}`, { - method: 'POST', + fetch(`/data/api-v/dbtable/deleteDBtablesById?id=${id}`, { + method: 'GET', headers: { 'Content-Type': 'application/json', 'Authorization': token -- Gitblit v1.8.0