you may have an infinite update loop in watcher with expression

2020-05-15 21:53:10

you may have an infinite update loop in watcher with expression

发生这样的问题,一般是因为在watch中改变所监听的数据。

这样就很有可能导致死循环。

如果网页卡主了,我们就可以联想到肯定是js发生了死循环。

  • 2019-10-11 13:48:00

    关于Integer比较相等的问题

    原来两个Integer类型的数字不能用==来判断,要用equal 不过Integer类型的可以与1,2这样的纯数字来判断