Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
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
panyongping
uni-pdtravel
Commits
0744a7fb
Commit
0744a7fb
authored
Apr 04, 2023
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定时器清除
parent
a2ea0cf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
paySuccess.vue
pages/payment/paySuccess/paySuccess.vue
+9
-5
No files found.
pages/payment/paySuccess/paySuccess.vue
View file @
0744a7fb
...
@@ -34,9 +34,9 @@
...
@@ -34,9 +34,9 @@
sum
+=
700
sum
+=
700
}
}
if
(
this
.
status
==
"2"
||
this
.
status
==
"4"
||
this
.
status
==
"5"
)
{
if
(
this
.
status
==
"2"
||
this
.
status
==
"4"
||
this
.
status
==
"5"
)
{
uni
.
redirectTo
({
//
uni.redirectTo({
url
:
this
.
afterBuyUrl
+
'?orderId='
+
this
.
orderId
+
'&ifyukuaiCode='
+
this
.
ifyukuaiCode
//
url:this.afterBuyUrl+'?orderId=' + this.orderId+'&ifyukuaiCode='+this.ifyukuaiCode
})
//
})
return
return
}
}
if
(
this
.
status
==
"3"
)
{
if
(
this
.
status
==
"3"
)
{
...
@@ -55,9 +55,13 @@
...
@@ -55,9 +55,13 @@
}
}
intFun
()
intFun
()
},
},
beforeDestroy
()
{
onHide
()
{
if
(
this
.
timer
)
{
clearInterval
(
this
.
timer
)
}
},
onUnload
()
{
if
(
this
.
timer
)
{
if
(
this
.
timer
)
{
//清除定时器
clearInterval
(
this
.
timer
)
clearInterval
(
this
.
timer
)
}
}
},
},
...
...
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