first commit
This commit is contained in:
23
unpackage/dist/dev/mp-weixin/utils/mpShare.js
vendored
Normal file
23
unpackage/dist/dev/mp-weixin/utils/mpShare.js
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
"use strict";
|
||||
const share = {
|
||||
data() {
|
||||
return {
|
||||
mpShare: {
|
||||
title: "",
|
||||
// 默认为小程序名称
|
||||
path: "",
|
||||
// 默认为当前页面路径
|
||||
imageUrl: ""
|
||||
// 默认为当前页面的截图
|
||||
}
|
||||
};
|
||||
},
|
||||
onShareAppMessage() {
|
||||
return this.mpShare;
|
||||
},
|
||||
onShareTimeline() {
|
||||
return this.mpShare;
|
||||
}
|
||||
};
|
||||
exports.share = share;
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/utils/mpShare.js.map
|
||||
Reference in New Issue
Block a user