wxml不能抛出错误?

小程序 文章 2022-01-28 15:20 264 0 全屏看文

AI助手支持GPT4.0

wxml不能抛出错误?Can't wxml throw errors?

wxml不能抛出错误?

js里面没有定义abc这变量,这样写为什么没有报错误信息?

The variable ABC is not defined in JS. Why is there no error message?

回答:

老张:

1、不是bug。就是不抛的,按此去处理吧。

圣殿骑士:

看console.log啊

JS抛

Mr.Zhao:

为啥要抛?

一路踩红:没报错无法定位呀
Mr.Zhao:报错看js,wxml没有就不显示

-EOF-

AI助手支持GPT4.0