Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hello_taobao
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
wildfirecode13
hello_taobao
Commits
51231c10
Commit
51231c10
authored
Sep 12, 2020
by
汪欢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prizepart
parent
af5342e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
myprize.js
dist/pages/myprize/myprize.js
+5
-3
No files found.
dist/pages/myprize/myprize.js
View file @
51231c10
...
@@ -172,9 +172,9 @@ Page({
...
@@ -172,9 +172,9 @@ Page({
async
receiveObjectPrize
(
params
)
{
async
receiveObjectPrize
(
params
)
{
// commonToast('正在调用receiveObjectPrize'+JSON.stringify(params))
// commonToast('正在调用receiveObjectPrize'+JSON.stringify(params))
API
.
receiveObjectPrize
(
params
).
then
((
res
)
=>
{
API
.
receiveObjectPrize
(
params
).
then
((
res
)
=>
{
setTimeout
(()
=>
{
//
setTimeout(() => {
commonToast
(
JSON
.
stringify
(
res
))
//
commonToast(JSON.stringify(res))
},
5000
);
//
}, 5000);
const
{
success
,
data
,
message
}
=
res
;
const
{
success
,
data
,
message
}
=
res
;
if
(
success
&&
data
)
{
if
(
success
&&
data
)
{
...
@@ -183,6 +183,8 @@ Page({
...
@@ -183,6 +183,8 @@ Page({
commonToast
(
message
)
commonToast
(
message
)
}
}
this
.
getMyPrize
()
this
.
getMyPrize
()
},(
rej
)
=>
{
commonToast
(
rej
.
message
)
});
});
},
},
// 积分
// 积分
...
...
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