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 @@