From 1a60125c4f968da139cbb2082a1856b8eb3fc70c Mon Sep 17 00:00:00 2001 From: wangyilin <1454641981@qq.com> Date: Sat, 14 Sep 2024 09:54:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- collect_information/src/request/index.ts | 3 + .../src/subPages/pages/form/form.vue | 10 +- .../subPages/pages/myProject/myProject.vue | 6 +- .../pages/projectDetails/projectDetails.scss | 24 +++- .../pages/projectDetails/projectDetails.vue | 121 ++++++++++++++---- .../types/pages/myProject/index.d.ts | 7 + .../types/pages/projectDetails/index.d.ts | 7 +- 7 files changed, 141 insertions(+), 37 deletions(-) diff --git a/collect_information/src/request/index.ts b/collect_information/src/request/index.ts index d3df74f..a7227d0 100644 --- a/collect_information/src/request/index.ts +++ b/collect_information/src/request/index.ts @@ -1,5 +1,6 @@ import Taro from "@tarojs/taro"; import {ApiOptions} from "../../types/request"; +import {type} from "os"; const requestInterceptor = (chain: Taro.Chain) => { const requestParams = chain.requestParams @@ -28,6 +29,8 @@ class CustomRequest { title: '请求中...', }).then() } + + console.log(params,method) Taro.request, object>({ url: this.BASE_API + url, data: params, diff --git a/collect_information/src/subPages/pages/form/form.vue b/collect_information/src/subPages/pages/form/form.vue index d6851ce..ccb86ec 100644 --- a/collect_information/src/subPages/pages/form/form.vue +++ b/collect_information/src/subPages/pages/form/form.vue @@ -50,7 +50,7 @@