Parcourir la source

修复删除接口报错

baiyanting il y a 1 an
Parent
commit
2178951a1a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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,