From e5fa6ae33523c1f5d2e5d8339eb6f3aee0bebcfa Mon Sep 17 00:00:00 2001 From: luozhun <2025254074@qq.com> Date: Sat, 14 Sep 2024 14:48:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- collect_information/src/request/index.ts | 5 +- .../src/subPages/pages/form/form.vue | 186 ++++++++---------- .../pages/projectDetails/projectDetails.vue | 142 ++++++------- collect_information/tsconfig.json | 16 +- .../types/pages/form/index.d.ts | 28 ++- 5 files changed, 188 insertions(+), 189 deletions(-) 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 @@