Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cauchy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
cauchy-ui
Commits
cd086c0d
Commit
cd086c0d
authored
Jul 20, 2021
by
FE-安焕焕
👣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改登录跳转问题
parent
d1f496a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
httpDecorator.js
src/service/httpDecorator.js
+1
-1
index.vue
src/views/pay/index.vue
+5
-4
No files found.
src/service/httpDecorator.js
View file @
cd086c0d
...
@@ -8,7 +8,7 @@ const http = new HttpRequest(
...
@@ -8,7 +8,7 @@ const http = new HttpRequest(
{
{
headers
:
{
headers
:
{
'
x-user-terminal
'
:
'
H5
'
,
'
x-user-terminal
'
:
'
H5
'
,
version
:
appVersion
||
'
7
.9.
0
'
version
:
appVersion
||
'
7
90
0
'
}
}
},
},
function
(
msg
)
{
function
(
msg
)
{
...
...
src/views/pay/index.vue
View file @
cd086c0d
...
@@ -215,7 +215,7 @@ export default {
...
@@ -215,7 +215,7 @@ export default {
/* 查询支付信息 */
/* 查询支付信息 */
async
queryPayInfo
()
{
async
queryPayInfo
()
{
const
[
data
,
error
]
=
await
queryPayInfo
({
orderNo
:
this
.
orderNo
});
const
[
data
,
error
]
=
await
queryPayInfo
({
orderNo
:
this
.
orderNo
});
if
(
error
)
{
if
(
error
&&
codeArr
.
indexOf
(
error
?.
response
?.
businessCode
)
<
0
)
{
this
.
payResult
(
'
Fail
'
);
this
.
payResult
(
'
Fail
'
);
return
;
return
;
}
}
...
@@ -525,15 +525,16 @@ export default {
...
@@ -525,15 +525,16 @@ export default {
},
},
/* 走h5活体流程 */
/* 走h5活体流程 */
async
goOcr
()
{
async
goOcr
()
{
const
[
{
url
}
]
=
await
ocrFaceId
({
const
[
res
]
=
await
ocrFaceId
({
isH5
:
true
,
isH5
:
true
,
type
:
'
xyqb
'
,
type
:
'
xyqb
'
,
orderNo
:
this
.
orderNo
,
orderNo
:
this
.
orderNo
,
flowOrderNo
:
this
.
flowOrderNo
,
flowOrderNo
:
this
.
flowOrderNo
,
callBackUrl
:
window
.
location
.
href
callBackUrl
:
window
.
location
.
href
});
});
if
(
url
)
return
;
if
(
!
res
.
url
)
return
;
window
.
location
.
href
=
url
;
console
.
log
(
res
);
window
.
location
.
href
=
res
.
url
;
},
},
selectCouponItem
(
isSelected
,
couponInfo
)
{
selectCouponItem
(
isSelected
,
couponInfo
)
{
registeredEvents
(
'
PD_YXMMACP_UserClickCouponPopupWindowCoupon
'
,
{
registeredEvents
(
'
PD_YXMMACP_UserClickCouponPopupWindowCoupon
'
,
{
...
...
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