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
0fccd4a4
Commit
0fccd4a4
authored
Sep 15, 2021
by
ben.liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:订单超时修改
parent
ecbe7516
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
extends.js
src/views/pay/extends.js
+2
-1
index.vue
src/views/pay/index.vue
+1
-3
No files found.
src/views/pay/extends.js
View file @
0fccd4a4
import
cookies
from
'
@/service/cookieStorage.service
'
;
import
cookies
from
'
@/service/cookieStorage.service
'
;
import
localStorage
from
'
@/service/localStorage.service
'
;
export
const
goUrlExtends
=
{
export
const
goUrlExtends
=
{
methods
:
{
methods
:
{
goHome
(
payStatus
)
{
goHome
(
payStatus
)
{
...
@@ -28,7 +29,7 @@ export const goUrlExtends = {
...
@@ -28,7 +29,7 @@ export const goUrlExtends = {
const
returnUrl
=
this
.
getReturnUrl
();
const
returnUrl
=
this
.
getReturnUrl
();
let
isOrder
=
true
;
let
isOrder
=
true
;
if
(
localStorage
.
get
(
'
hideOrder
'
))
{
if
(
localStorage
.
get
(
'
hideOrder
'
))
{
this
.
isOrder
=
false
;
isOrder
=
false
;
}
}
setTimeout
(()
=>
{
setTimeout
(()
=>
{
if
(
returnUrl
&&
isOrder
)
{
if
(
returnUrl
&&
isOrder
)
{
...
...
src/views/pay/index.vue
View file @
0fccd4a4
...
@@ -54,9 +54,7 @@
...
@@ -54,9 +54,7 @@
</cr-button>
</cr-button>
</p>
</p>
<p
v-if=
"overtime"
class=
"btn"
>
<p
v-if=
"overtime"
class=
"btn"
>
<cr-button
v-if=
"isOrder"
type=
"default"
class=
"btn-default"
@
click=
"goOrderList"
<cr-button
type=
"default"
class=
"btn-default"
@
click=
"goOrderList"
>
我的订单
</cr-button>
>
我的订单
</cr-button
>
<cr-button
type=
"primary"
class=
"btn-primary"
@
click=
"goHome"
>
返回商城
</cr-button>
<cr-button
type=
"primary"
class=
"btn-primary"
@
click=
"goHome"
>
返回商城
</cr-button>
</p>
</p>
<p
class=
"placeholder"
/>
<p
class=
"placeholder"
/>
...
...
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