小程序console.log在方法内部无法打印出data中的变量
xxx is not defined; [Component] Event Handler Error @ pages/PageTest/page_2#bound formSubmitReferenceError: xxx is not defined的问题。尽管可以正常读取并显示form中信息,但是还是出现了这个错误。这个问题充分的描述起来就是console.log(result_1)无法显示在js中定义在data中的变量。<!--pages/PageTest/page_2.wxml--&g
原创
2021-01-22 11:42:02 ·
3345 阅读 ·
4 评论