Browse Source

2022年5月13日16:59:18

master
wq 3 years ago
parent
commit
caac5a0b7c
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/api/index.ts
  2. 1
    1
      src/views/dengmingcong/cardFillDo/cardFillDo.vue

+ 1
- 1
src/api/index.ts View File

const defaultOptions = { const defaultOptions = {
url: url, url: url,
method: "post", method: "post",
params: data,
data: data,
} }
//合并用户配置参数信息 //合并用户配置参数信息
options = Object.assign(defaultOptions, options); options = Object.assign(defaultOptions, options);

+ 1
- 1
src/views/dengmingcong/cardFillDo/cardFillDo.vue View File

proxy proxy
}: any = getCurrentInstance(); }: any = getCurrentInstance();


proxy.$request.get('api/user', {}, {
proxy.$request.post('activeSuspend/query', { vehicleColour: '1', vehicleNumber: '2' }, {
}).then((res: {}) => { }).then((res: {}) => {
console.log(res); console.log(res);
}).catch((err: {}) => { }).catch((err: {}) => {

Loading…
Cancel
Save