Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-web-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-web-master
Commits
331bc609
Commit
331bc609
authored
Sep 13, 2024
by
chenwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分享统计重复请求
parent
ae93e64f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
IntegralActivity.vue
src/views/jiedao/profile/components/IntegralActivity.vue
+11
-12
No files found.
src/views/jiedao/profile/components/IntegralActivity.vue
View file @
331bc609
...
...
@@ -62,19 +62,18 @@ export default {
},
// 复制按钮
handleCopyBtn
(
item
,
e
)
{
shareRecordCreate
({
memberId
:
this
.
$store
.
getters
.
id
,
ruleId
:
item
.
id
}).
then
(
res
=>
{
const
clipboard
=
new
ClipboardJS
(
`.copyBtn
${
item
.
id
}
`
)
this
.
$nextTick
(()
=>
{
clipboard
.
on
(
'
success
'
,
()
=>
{
this
.
$message
.
success
(
this
.
$t
(
'
复制成功
'
))
clipboard
.
destroy
()
})
clipboard
.
on
(
'
error
'
,
()
=>
{
this
.
$message
.
error
(
this
.
$t
(
'
复制失败
'
))
clipboard
.
destroy
()
})
const
clipboard
=
new
ClipboardJS
(
`.copyBtn
${
item
.
id
}
`
)
clipboard
.
on
(
'
success
'
,
()
=>
{
shareRecordCreate
({
memberId
:
this
.
$store
.
getters
.
id
,
ruleId
:
item
.
id
}).
then
(
res
=>
{
this
.
$message
.
success
(
this
.
$t
(
'
复制成功
'
))
})
clipboard
.
destroy
()
})
clipboard
.
on
(
'
error
'
,
()
=>
{
this
.
$message
.
error
(
this
.
$t
(
'
复制失败
'
))
clipboard
.
destroy
()
})
},
// 获取活动列表
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment