From fa44bcc2861fe56e8af50fbd8f56065250a2ece3 Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期四, 06 一月 2022 10:08:07 +0800 Subject: [PATCH] 报错处理 --- src/api/scene.ts | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/api/scene.ts b/src/api/scene.ts index 8a058e6..130433f 100644 --- a/src/api/scene.ts +++ b/src/api/scene.ts @@ -57,7 +57,8 @@ export const deleteCameraScene = (id: any) => { return request({ - url: "/data/api-v/camera/rule/deleteGroup/" + id, - method: "delete" + url: "/data/api-v/camera/rule/deleteGroup", + method: "get", + params: { groupId: id } }); }; -- Gitblit v1.8.0