@@ -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
});
},