Browse Source

更新 'plugins/miaosha/advance/advance.vue'

秒杀分享
qiang 4 years ago
parent
commit
620d860535
1 changed files with 7 additions and 4 deletions
  1. 7 4
      plugins/miaosha/advance/advance.vue

+ 7 - 4
plugins/miaosha/advance/advance.vue

xqd
@@ -325,11 +325,14 @@
 					url: '/pages/index/index'
 				})
 			}
-	    },
-
-	    onShareAppMessage() {},
-
+	    }, 
 		// #ifdef MP-WEIXIN
+  		onShareAppMessage() {
+			return this.$shareAppMessage({
+				path: '/plugins/miaosha/advance/advance',
+				title: this.$children[0].navigationBarTitle,
+			});
+		},
 		onShareTimeline() {
 			// 分享朋友圈beta
 			return this.$shareTimeline({