Skip to content

钉钉小程序编译后,网络请求错误 #18138

@WilliamJJXue

Description

@WilliamJJXue

请先确认

  • 我已搜索并确定这个提交不是重复的

Taro 版本

v3

相关领域

运行时

使用框架

React

相关平台

  • 所有平台
  • Web 端(H5)
  • 移动端(React-Native)
  • 鸿蒙(Harmony)
  • 鸿蒙容器(Harmony Hybrid)
  • ASCF 元服务
  • 快应用(QuickApp)
  • 所有小程序
  • 微信小程序
  • 企业微信小程序
  • 京东小程序
  • 百度小程序
  • 支付宝小程序
  • 支付宝 IOT 小程序
  • 头条小程序
  • QQ 小程序
  • 钉钉小程序
  • 飞书小程序
  • 快手小程序

小程序基础库版本

3.9.22

问题描述

taro版本3.6.22;
@tarojs/plugin-platform-alipay-dd 版本0.3.1

编译后
钉钉小程序的网络请求会将 body中的 请求体 自动转到 params 中

Image

复现链接

https://github.com/WilliamJJXue/taro-bug-demo

复现步骤

yarn run dev:dd

环境信息

Taro v3.6.18


  Taro CLI 3.6.18 environment info:
    System:
      OS: macOS 15.4.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 24.4.1 - ~/.nvm/versions/node/v24.4.1/bin/node
      Yarn: 1.22.22 - /usr/local/bin/yarn
      npm: 11.4.2 - ~/.nvm/versions/node/v24.4.1/bin/npm
    npmPackages:
      @tarojs/cli: 3.6.18 => 3.6.18 
      @tarojs/components: 3.6.18 => 3.6.18 
      @tarojs/helper: 3.6.18 => 3.6.18 
      @tarojs/plugin-framework-react: 3.6.18 => 3.6.18 
      @tarojs/plugin-platform-alipay: 3.6.18 => 3.6.18 
      @tarojs/plugin-platform-h5: 3.6.18 => 3.6.18 
      @tarojs/plugin-platform-jd: 3.6.18 => 3.6.18 
      @tarojs/plugin-platform-qq: 3.6.18 => 3.6.18 
      @tarojs/plugin-platform-swan: 3.6.18 => 3.6.18 
      @tarojs/plugin-platform-tt: 3.6.18 => 3.6.18 
      @tarojs/plugin-platform-weapp: 3.6.18 => 3.6.18 
      @tarojs/react: 3.6.18 => 3.6.18 
      @tarojs/runtime: 3.6.18 => 3.6.18 
      @tarojs/shared: 3.6.18 => 3.6.18 
      @tarojs/taro: 3.6.18 => 3.6.18 
      @tarojs/taro-loader: 3.6.18 => 3.6.18 
      @tarojs/webpack5-runner: 3.6.18 => 3.6.18 
      babel-preset-taro: 3.6.18 => 3.6.18 
      eslint-config-taro: 3.6.18 => 3.6.18 
      react: ^18.0.0 => 18.3.1

开源贡献

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea - 运行时相关F-reactFramework - ReactT-ddV-3Version - 3.xbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions