- add vue-facing-decorator (replace vue-class-component and vue-property-decorator)
- npm updates (stabele axios version) + adaption in axios config - remove maps route from src/router/index.ts
This commit is contained in:
parent
82872bf3fb
commit
5603614045
26 changed files with 1288 additions and 1797 deletions
|
@ -2,7 +2,7 @@ import { AxiosRequestConfig } from "axios";
|
|||
import * as qs from "qs";
|
||||
|
||||
export const axiosRequestConfiguration: AxiosRequestConfig = {
|
||||
responseType: "text",
|
||||
// responseType: "text",
|
||||
headers: {
|
||||
// "Content-Type": "text/plain",
|
||||
"Content-Type": "application/x-www-form-urlencoded",
|
||||
|
@ -11,5 +11,13 @@ export const axiosRequestConfiguration: AxiosRequestConfig = {
|
|||
// "Access-Control-Allow-Credentials": "true",
|
||||
// "Access-Control-Allow-Origin": "*",
|
||||
},
|
||||
paramsSerializer: (params) => qs.stringify(params, { arrayFormat: "repeat" }),
|
||||
// paramsSerializer: {
|
||||
// indexes: null, // by default: false
|
||||
// },
|
||||
|
||||
paramsSerializer: {
|
||||
serialize: (params: Record<string, number>) => {
|
||||
return qs.stringify(params, { arrayFormat: "repeat" });
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue