Explorar o código

1.添加防止冒泡事件

306132416@qq.com %!s(int64=6) %!d(string=hai) anos
pai
achega
1ce64c2423
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>