vue updated

updated方法的触发条件———— 当data中定义的数据有变化时就会加载updated方法

猜你喜欢

转载自www.cnblogs.com/sanhao/p/10874701.html