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

JS增强的this.openCustomModal如何使用post方法 #7686

Closed
ZhangWenZhen2000 opened this issue Jan 5, 2025 · 2 comments
Closed

JS增强的this.openCustomModal如何使用post方法 #7686

ZhangWenZhen2000 opened this issue Jan 5, 2025 · 2 comments

Comments

@ZhangWenZhen2000
Copy link

版本号:3.7.1
问题描述:

JS增强的this.openCustomModal如何使用post方法,是不是只能使用put方法

错误截图:

友情提示:

  • 未按格式要求发帖、描述过于简单的,会被直接删掉;
  • 描述问题请图文并茂,方便我们理解并快速定位问题;
  • 如果使用的不是master,请说明你使用的分支;
@zhangdaiscott
Copy link
Member

zy

@jeecgDeveloper
Copy link

defHttp里面get、post、delete、put请求方式都支持。
props.url例子中只是使用的put,相当于是编辑当前选中数据,你也可以改成post方式,post请求就是新增一条数据了。
image

image

使用post效果:
iShot_2025-01-07_11 03 03

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

3 participants