From a24ca741c5fcf4cd05e51e083a62eb4e68eeaa6e Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期一, 01 二月 2021 11:00:20 +0800 Subject: [PATCH] 完善bhomebus 的 api 接口 --- src/pages/library/components/personList.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/library/components/personList.vue b/src/pages/library/components/personList.vue index 697ca59..8149120 100644 --- a/src/pages/library/components/personList.vue +++ b/src/pages/library/components/personList.vue @@ -664,8 +664,8 @@ confirmButtonClass: "comfirm-class-sure" }) .then(_ => { - fetch(`/data/api-v/dbperson/deleteDbPersonById/${id}`, { - method: "POST", + fetch(`/data/api-v/dbperson/deleteDbPersonById?id=${id}`, { + method: "GET", headers: { "Content-Type": "application/json", Authorization: token @@ -728,7 +728,7 @@ this.BaseManageData.page = current; this.getPersonList(); }, - handleSizeChange(val){ + handleSizeChange(val) { //this.pageSize = val; this.BaseManageData.size = val; this.getPersonList(); -- Gitblit v1.8.0