diff --git a/collect_information/src/request/index.ts b/collect_information/src/request/index.ts index a7227d0..0947285 100644 --- a/collect_information/src/request/index.ts +++ b/collect_information/src/request/index.ts @@ -8,7 +8,7 @@ const requestInterceptor = (chain: Taro.Chain) => { if (token) { requestParams.header = { ...requestParams.header, - token:token.value + token: token.value } } return chain.proceed(requestParams) @@ -30,7 +30,6 @@ class CustomRequest { }).then() } - console.log(params,method) Taro.request, object>({ url: this.BASE_API + url, data: params, @@ -62,7 +61,7 @@ class CustomRequest { duration: 2000 }).then() reject(res.errMsg); - console.log(res.errMsg,'000') + console.log(res.errMsg, '000') } }) }) diff --git a/collect_information/src/subPages/pages/form/form.vue b/collect_information/src/subPages/pages/form/form.vue index adf3386..3fd8a3a 100644 --- a/collect_information/src/subPages/pages/form/form.vue +++ b/collect_information/src/subPages/pages/form/form.vue @@ -1,75 +1,79 @@