[email protected]
ByteDance Beijing, China Work, Life, Open-source, I can only pick two of them.
Pick
$digest和$apply 的第二个例子中,页面加载后 a,b 的值都是2,是因为 $watch 在页面初始化时给 a 和 b 赋值而执行了一次吗?