浏览代码

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>