Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@tarojs/plugin-http post请求不传递data会塞入空对象 #14579

Open
1045598742 opened this issue Sep 21, 2023 · 1 comment
Open

@tarojs/plugin-http post请求不传递data会塞入空对象 #14579

1045598742 opened this issue Sep 21, 2023 · 1 comment
Labels
F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@1045598742
Copy link

相关平台

微信小程序

小程序基础库: 3.0.1
使用框架: Vue 3

复现步骤

直接看源码即可 评论放图

期望结果

功能正常

实际结果

post请求data未传值 会带给后端空对象

环境信息

Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating

  Taro CLI 3.4.10 environment info:
    System:
      OS: macOS 13.2.1
      Shell: 5.8.1 - /bin/zsh
    Binaries:
      Node: 14.18.3 - ~/.nvm/versions/node/v16.13.0/bin/node
      Yarn: 1.22.17 - /usr/local/bin/yarn
      npm: 8.1.0 - ~/.nvm/versions/node/v16.13.0/bin/npm
    npmPackages:
      @tarojs/cli: ^3.5.6 => 3.6.15
      @tarojs/components: ^3.5.6 => 3.6.15
      @tarojs/mini-runner: ^3.5.6 => 3.6.15
      @tarojs/plugin-framework-react: ^3.5.6 => 3.6.15
      @tarojs/react: ^3.5.6 => 3.6.15
      @tarojs/runtime: ^3.5.6 => 3.6.15
      @tarojs/taro: ^3.5.6 => 3.6.15
      @tarojs/webpack-runner: ^3.5.6 => 3.6.15
      babel-preset-taro: ^3.5.6 => 3.6.15
      eslint-config-taro: ^3.5.6 => 3.6.15
      react: ^17.0.0 => 17.0.2 
    npmGlobalPackages:
      typescript: 5.1.6
@taro-bot2 taro-bot2 bot added F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Sep 21, 2023
@1045598742
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
Status: Todo
Development

No branches or pull requests

1 participant