Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
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
new-sing
h5-base
Commits
372ba57c
Commit
372ba57c
authored
Sep 28, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除定时器
parent
2f82c4e2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
17 deletions
+2
-17
index.html
dist/index.html
+1
-1
app.84b4c64e9e52528644ef.js
dist/static/js/app.84b4c64e9e52528644ef.js
+1
-0
main.js
src/main.js
+0
-16
No files found.
dist/index.html
View file @
372ba57c
...
@@ -11,4 +11,4 @@
...
@@ -11,4 +11,4 @@
position
:
fixed
;
position
:
fixed
;
background
:
#f4f4f4
;
background
:
#f4f4f4
;
}
}
/* html{font-size: 1px;} */
</style><link
href=
static/css/app.d7ff704234c186886ba9e9e037596e8c.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
></script><script></script><script
type=
text/javascript
src=
static/js/manifest.6a8a8f81d41eede92744.js
></script><script
type=
text/javascript
src=
static/js/vendor.0c1d6ebbba685002d59c.js
></script><script
type=
text/javascript
src=
static/js/app.f01076fe98b31a1e95c1.js
></script></body></html>
/* html{font-size: 1px;} */
</style><link
href=
static/css/app.d7ff704234c186886ba9e9e037596e8c.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
></script><script></script><script
type=
text/javascript
src=
static/js/manifest.6a8a8f81d41eede92744.js
></script><script
type=
text/javascript
src=
static/js/vendor.0c1d6ebbba685002d59c.js
></script><script
type=
text/javascript
src=
static/js/app.84b4c64e9e52528644ef.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/js/app.
f01076fe98b31a1e95c1
.js
→
dist/static/js/app.
84b4c64e9e52528644ef
.js
View file @
372ba57c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/main.js
View file @
372ba57c
...
@@ -50,22 +50,6 @@ Vue.component('scroll', scroll);
...
@@ -50,22 +50,6 @@ Vue.component('scroll', scroll);
// 支付宝支付完成,订单状态查询
// 支付宝支付完成,订单状态查询
let
timer
=
null
;
let
timer
=
null
;
timer
=
setInterval
(()
=>
{
Dialog
.
confirm
({
title
:
'标题'
,
message
:
'支付成功'
}).
then
(()
=>
{
if
(
res
.
buy_type
==
1
)
{
router
.
push
({
name
:
"buySuccess"
,
query
:
outTradEno
});
}
else
{
router
.
push
({
name
:
"success"
,
query
:
outTradEno
});
}
clearInterval
(
timer
);
localStorage
.
removeItem
(
'out_trade_no'
)
}).
catch
(()
=>
{
clearInterval
(
timer
);
localStorage
.
removeItem
(
'out_trade_no'
)
});
// }
},
6000
)
if
(
window
.
localStorage
.
out_trade_no
)
{
if
(
window
.
localStorage
.
out_trade_no
)
{
timer
=
setInterval
(()
=>
{
timer
=
setInterval
(()
=>
{
...
...
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