dashboard
repositories
filestore
activity
search
login
main
/
qxgIosUniapp
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
feat: 星享购添加地址隐藏掉获取位置功能
lin
2026-04-24
be9345288fb37d2bb9a60b0421e4e15e7b2f3471
[qxgIosUniapp.git]
/
uni_modules
/
uv-ui-tools
/
libs
/
mixin
/
mpShare.js
1
2
3
4
5
6
7
8
9
10
11
12
13
export default {
onLoad() {
// 设置默认的转发参数
uni.$uv.mpShare = {
title: '', // 默认为小程序名称
path: '', // 默认为当前页面路径
imageUrl: '' // 默认为当前页面的截图
}
},
onShareAppMessage() {
return uni.$uv.mpShare
}
}