formData

来源:4-13 前后端联调验证整体模块功能

慕妹1598916

2020-08-16

图片描述formData创建对象了,添加不进去值?

写回答

3回答

翔仔

2020-08-17

感觉写错了,直接复制粘贴最终源码里面的html和js,然后清空一下页面缓存试试,应该还是引错了

0
0

慕妹1598916

提问者

2020-08-17

__proto__: FormData

append: ƒ append()

arguments: [异常: TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them at Function.invokeGetter (<anonymous>:1:142) at HTMLAnchorElement.<anonymous> (http://localhost:8080/o2o/resources/js/shop/shopoperation.js:51:9) at HTMLAnchorElement.s.proxy (http://localhost:8080/o2o/resources/js/common/zepto.min.js:2:15017)]

caller: [异常: TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them at Function.invokeGetter (<anonymous>:1:142) at HTMLAnchorElement.<anonymous> (http://localhost:8080/o2o/resources/js/shop/shopoperation.js:51:9) at HTMLAnchorElement.s.proxy (http://localhost:8080/o2o/resources/js/common/zepto.min.js:2:15017)

formData里边的数据异常

0
0

翔仔

2020-08-17

同学好,看看html里面引对对应的js文件了没,如果应用对了,清空一下页面缓存试试。

0
1
慕妹1598916
__proto__: FormData append: ƒ append() arguments: [异常: TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them at Function.invokeGetter (:1:142) at HTMLAnchorElement. (http://localhost:8080/o2o/resources/js/shop/shopoperation.js:51:9) at HTMLAnchorElement.s.proxy (http://localhost:8080/o2o/resources/js/common/zepto.min.js:2:15017)] caller: [异常: TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them at Function.invokeGetter (:1:142) at HTMLAnchorElement. (http://localhost:8080/o2o/resources/js/shop/shopoperation.js:51:9) at HTMLAnchorElement.s.proxy (http://localhost:8080/o2o/resources/js/common/zepto.min.js:2:15017) formData里的数据异常
2020-08-17
共1条回复

Java双版本(SSM到SpringBoot)校园商铺全栈开发

SSM商铺V1.0,解决毕设痛点;SpringBoot商铺V2.0,满足工作刚需

5113 学习 · 8144 问题

查看课程