摘要:
watch 就是监听,当数据发生改变的时候就执行 data:{ num1:1, num2:2 }, watch:{ num1(newValue){ }, num2(newValue,oldValue){ } } 阅读全文
posted @ 2022-01-18 23:23
没有烦恼的猫猫
阅读(65)
评论(0)
推荐(0)
摘要:
<div id="app"> <button type="button" @click="btnClick(a,$event)">maomao</button> <!-- 阻止单击事件继续传播 --> <a v-on:click.stop="doThis">阻止单击事件继续传播</a> <!-- 提 阅读全文
posted @ 2022-01-18 21:51
没有烦恼的猫猫
阅读(696)
评论(0)
推荐(0)

浙公网安备 33010602011771号