软测宝小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
keysass_app/utils/share.js

21 lines
589 B

7 months ago
export default {
data() {
return {}
},
//1.配置发送给朋友
onShareAppMessage() {
return {
title: '关键测试宝', //分享的标题
path: 'pages/index/index', //点击分享链接之后进入的页面路径
// imageUrl: '/static/index/logo.png' //分享发送的链接图片地址
};
},
//2.配置分享到朋友圈
onShareTimeline() {
return {
title: '关键测试宝', //分享的标题
query: 'pages/index/index', //点击分享链接之后进入的页面路径
// imageUrl: '/static/index/logo.png' //分享发送的链接图片地址
}
},
}