vue.js中修飾符.stop的用法。

.stop修飾符是用來阻止冒泡事件的發生的。 用法以下:javascript <a v-on:click.stop="doThis"></a> 下面是所有的代碼:css <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script src="vue.js
相關文章
相關標籤/搜索