no message
This commit is contained in:
14
uni_modules/uview-plus/libs/mixin/mpShare.js
Normal file
14
uni_modules/uview-plus/libs/mixin/mpShare.js
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
mpShare: {
|
||||
title: '', // 默认为小程序名称
|
||||
path: '', // 默认为当前页面路径
|
||||
imageUrl: '' // 默认为当前页面的截图
|
||||
}
|
||||
}
|
||||
},
|
||||
onShareAppMessage() {
|
||||
return this.mpShare;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user