Browse Source

添加首页分享朋友圈,分享给朋友

master
396316021 1 year ago
parent
commit
a4ff3ca3c5
  1. 15
      pages/Index/index.vue

15
pages/Index/index.vue

@ -31,6 +31,7 @@
import log from "@/utils/log";
import {userDetail, userExtends} from "@/api/user";
import {allBadgeCount, allChatCount, waitOrderCount} from "../../api/other";
import {onShareAppMessage} from "@dcloudio/uni-app";
export default {
components: {
FooterNav,
@ -220,7 +221,19 @@
this.title = newVal;
}
}
}
},
onShareAppMessage() {
return {
title:'汪汪行天下',
path:'/pages/Index/index',
}
},
onShareTimeline() {
return {
title:'汪汪行天下',
path:'/pages/Index/index',
}
},
}
</script>

Loading…
Cancel
Save