Browse Source

修复删除接口报错

baiyanting 1 year ago
parent
commit
2178951a1a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/api/powerGenerating/index.js

+ 1 - 1
src/api/powerGenerating/index.js

@@ -139,7 +139,7 @@ export function dataOptionDel(data, timeout = 5000) {
   return request({
     baseURL: process.env.VUE_APP_TEST,
     url: "/data/option/delete",
-    method: "delete",
+    method: "get",
     params: data,
     headers,
     timeout,