Browse Source

Project Init

yigeren911 1 year ago
parent
commit
a6d089bd9a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/api/request.ts

+ 2 - 2
src/api/request.ts

@@ -3,10 +3,10 @@ import { actionUrl } from "/@/api/backend/routine/config";
 
 
 export default {
-  index: (url: string, data: anyObj = {}, action: string = "index", method: any = "get") => {
+  index: (url: string, data: anyObj = {}, action: string = "index") => {
     return createAxios({
       url: url + action,
-      method: method,
+      method: 'get',
       params: data
     });
   },