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
eb4c93a2
Commit
eb4c93a2
authored
Jul 16, 2021
by
FE-安焕焕
👣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改跳转地址
parent
6a31eba1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
extends.js
src/views/pay/extends.js
+3
-3
No files found.
src/views/pay/extends.js
View file @
eb4c93a2
...
...
@@ -5,7 +5,7 @@ export const goUrlExtends = {
// 商城地址
const
returnUrl
=
this
.
getReturnUrl
();
if
(
returnUrl
)
{
window
.
location
.
replace
=
`
${
returnUrl
}
`
;
window
.
location
.
replace
(
`
${
returnUrl
}
`
)
;
return
;
}
this
.
$router
.
replace
({
name
:
'
home
'
});
...
...
@@ -13,7 +13,7 @@ export const goUrlExtends = {
goOrderList
()
{
const
returnUrl
=
this
.
getReturnUrl
();
if
(
returnUrl
)
{
window
.
location
.
replace
=
`
${
returnUrl
}
/orderList`
;
window
.
location
.
replace
(
`
${
returnUrl
}
/orderList`
)
;
return
;
}
this
.
$router
.
replace
({
name
:
'
orderList
'
},
'
sessionStorage
'
);
...
...
@@ -22,7 +22,7 @@ export const goUrlExtends = {
const
returnUrl
=
this
.
getReturnUrl
();
const
orderNo
=
localStorage
.
get
(
'
orderNo
'
)?.
orderNo
;
if
(
returnUrl
)
{
window
.
location
.
replace
=
`
${
returnUrl
}
/orderDetail?orderNo=
${
orderNo
}
`
;
window
.
location
.
replace
(
`
${
returnUrl
}
/orderDetail?orderNo=
${
orderNo
}
`
)
;
return
;
}
this
.
$router
.
push
({
...
...
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