Преглед изворни кода

1.添加防止冒泡事件

306132416@qq.com пре 6 година
родитељ
комит
1ce64c2423
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      pages/share/sharePage.vue

+ 1 - 1
pages/share/sharePage.vue

@@ -2,7 +2,7 @@
 	
 	<view class='share-bg-box'>
 		
-			 <view class="rule-box" @click="goRulePage">
+			 <view class="rule-box" @click.stop="goRulePage">
 			 	 <text>活动规则</text>
 			 </view>