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

接口调用怎么用表单的形式提交数据 #3283

Closed
SuperZiLu opened this issue Jun 24, 2020 · 12 comments
Closed

接口调用怎么用表单的形式提交数据 #3283

SuperZiLu opened this issue Jun 24, 2020 · 12 comments

Comments

@SuperZiLu
Copy link

Question(提问)

怎么用这个模版改成用我们公司自己的接口,我现在写的登录接口参数是拼接的,但是我们后台要求用表单提交,有没有大佬拯救一下我这个初学者,代码基本上就是模版本身的代码 只是改了一些参数数值,都在截图里了,感谢。

Screenshot or Gif(截图或动态图)

image
image

image

image

现在用devtools调试发现是拼接的
image

Other relevant information(格外信息)

  • Your OS:
  • Node.js version:
  • vue-element-admin version:
@feeldemo
Copy link

feeldemo commented Jun 24, 2020 via email

@SuperZiLu
Copy link
Author

我第三个截图那里就是设置的post哎。

@feeldemo
Copy link

feeldemo commented Jun 24, 2020 via email

@SuperZiLu
Copy link
Author

大佬帮帮忙等一下 我都能看到

@feeldemo
Copy link

feeldemo commented Jun 24, 2020 via email

@SuperZiLu
Copy link
Author

image
改成data之后就变成options了 这个我之前瞎试过 上面是我们后台的截图

@feeldemo
Copy link

feeldemo commented Jun 24, 2020 via email

@feeldemo
Copy link

feeldemo commented Jun 24, 2020 via email

@SuperZiLu
Copy link
Author

qq收不到 你加我吧 845691482

@feeldemo
Copy link

feeldemo commented Jun 24, 2020 via email

@SuperZiLu
Copy link
Author

好吧 多谢了 我自己再研究一下吧

@SuperZiLu
Copy link
Author

自己摸索出来了 感谢提点。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants