Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
scrm-wx-merchant-activity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 45cd5caf
authored
Sep 28, 2022
by
luyt
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix:修复同一页面多次分享,不会记录多次问题
1 parent
98be9a68
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
src/api/wxConfig.js
src/views/crowdfunding/index.vue
src/api/wxConfig.js
View file @
45cd5ca
...
@@ -240,11 +240,11 @@ const WxConfig = {
...
@@ -240,11 +240,11 @@ const WxConfig = {
onMenuShareAppMessage
(
params
)
{
onMenuShareAppMessage
(
params
)
{
return
new
Promise
(
resolve
=>
{
return
new
Promise
(
resolve
=>
{
wx
.
onMenuShareAppMessage
({
wx
.
onMenuShareAppMessage
({
...
params
,
success
:
function
()
{
success
:
function
()
{
resolve
()
resolve
()
// 用户点击了分享后执行的回调函数
// 用户点击了分享后执行的回调函数
}
},
...
params
})
})
})
})
},
},
...
@@ -253,11 +253,11 @@ const WxConfig = {
...
@@ -253,11 +253,11 @@ const WxConfig = {
delete
params
.
desc
delete
params
.
desc
return
new
Promise
(
resolve
=>
{
return
new
Promise
(
resolve
=>
{
wx
.
onMenuShareTimeline
({
wx
.
onMenuShareTimeline
({
...
params
,
success
:
function
()
{
success
:
function
()
{
resolve
()
resolve
()
// 用户点击了分享后执行的回调函数
// 用户点击了分享后执行的回调函数
}
},
...
params
})
})
})
})
},
},
...
...
src/views/crowdfunding/index.vue
View file @
45cd5ca
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment