Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
A
accord-with-name
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
malin
accord-with-name
Commits
966fe8d9
Commit
966fe8d9
authored
Apr 15, 2021
by
malin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
r
parent
f2ac096c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
index.vue
src/views/Result/index.vue
+5
-4
No files found.
src/views/Result/index.vue
View file @
966fe8d9
...
...
@@ -100,8 +100,8 @@ export default {
const
n
=
JSON
.
parse
(
utils
.
getCookie
(
"baseInfo"
));
this
.
baseInfo
=
n
?
n
:
[
"name"
,
"name"
];
//
this._queryOrder();
this
.
_fetchInfo
();
this
.
_queryOrder
();
//
this._fetchInfo();
},
methods
:
{
...
...
@@ -151,16 +151,17 @@ export default {
return
;
}
if
(
status
==
200
)
{
this
.
_fetchInfo
();
return
;
}
else
{
// 支付不成功
setTimeout
(()
=>
{
if
(
this
.
countdown
==
1
)
{
if
(
this
.
countdown
>
3
)
{
return
this
.
$router
.
push
({
path
:
"/pay"
,
query
:
this
.
baseInfo
});
}
this
.
countdown
+=
1
;
this
.
_queryOrder
();
},
2
000
);
},
1
000
);
}
});
},
...
...
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