Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
922 views
in Technique[技术] by (71.8m points)

小程序 form组件提交数组

小程序的form中有多个同名的input,如<input type="hidden" name="productName"/>,在小程序中如何获取一个productName的数组?目前小程序的获取form值的方法只能获取到最后一个productName的值


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

暂时没法实现,但是你可以通过,;组合起来到一个name的value里传给后台处理。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...