Browse Source

tabbar页面增加分享

jwyu 3 năm trước cách đây
mục cha
commit
2f4bd8b237
3 tập tin đã thay đổi với 15 bổ sung0 xóa
  1. 5 0
      pages/index/index.vue
  2. 5 0
      pages/mine/index.vue
  3. 5 0
      pages/workbench/index.vue

+ 5 - 0
pages/index/index.vue

@@ -30,6 +30,11 @@
 				uni.stopPullDownRefresh()
 			}, 500);
 		},
+		onShareAppMessage() {
+			return {
+				title:"弘则移动CRM"
+			}
+		},
 		
 		methods: {
 			// 跳转消息列表

+ 5 - 0
pages/mine/index.vue

@@ -50,6 +50,11 @@
 				return this.$store.state.userInfo 
 			}
 		},
+		onShareAppMessage() {
+			return {
+				title:"弘则移动CRM"
+			}
+		},
 		methods: {
 			handleLoginOut() {
 				this.$dialog.confirm({

+ 5 - 0
pages/workbench/index.vue

@@ -22,6 +22,11 @@
 				
 			}
 		},
+		onShareAppMessage() {
+			return {
+				title:"弘则移动CRM"
+			}
+		},
 		methods: {
 			handleGoNext(type) {
 				if(type==='custome'){