Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
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
xugong
hls-xcmg-vue-app
Commits
edfda19e
Commit
edfda19e
authored
Dec 02, 2019
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pay:跳转支付
parent
26f1caf0
Pipeline
#3991
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
+14
-12
pay-entry.vue
src/pages/pay/firstPay/pay-entry.vue
+7
-6
pay-entry.vue
src/pages/pay/payment/pay-entry.vue
+7
-6
No files found.
src/pages/pay/firstPay/pay-entry.vue
View file @
edfda19e
...
@@ -345,12 +345,13 @@ export default {
...
@@ -345,12 +345,13 @@ export default {
if
(
res
.
return_code
!==
'0000'
)
{
if
(
res
.
return_code
!==
'0000'
)
{
hlsPopup
.
showLongCenter
(
res
.
error_message
)
hlsPopup
.
showLongCenter
(
res
.
error_message
)
}
else
{
}
else
{
vm
.
$router
.
push
({
// vm.$router.push({
name
:
'PayPage'
,
// name: 'PayPage',
params
:
{
// params: {
url
:
res
.
paymentURL
,
// url: res.paymentURL,
},
// },
})
// })
window
.
open
(
res
.
paymentURL
)
}
}
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
...
...
src/pages/pay/payment/pay-entry.vue
View file @
edfda19e
...
@@ -286,12 +286,13 @@ export default {
...
@@ -286,12 +286,13 @@ export default {
if
(
res
.
return_code
!==
'0000'
)
{
if
(
res
.
return_code
!==
'0000'
)
{
hlsPopup
.
showLongCenter
(
res
.
error_message
)
hlsPopup
.
showLongCenter
(
res
.
error_message
)
}
else
{
}
else
{
vm
.
$router
.
push
({
// vm.$router.push({
name
:
'PayPage'
,
// name: 'PayPage',
params
:
{
// params: {
url
:
res
.
paymentURL
,
// url: res.paymentURL,
},
// },
})
// })
window
.
open
(
res
.
paymentURL
)
}
}
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
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