Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
c0e68ade
Commit
c0e68ade
authored
Nov 05, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 订单详情页token校验
parent
278c1b85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
detail.vue
src/pages/order/detail.vue
+11
-1
No files found.
src/pages/order/detail.vue
View file @
c0e68ade
...
@@ -207,7 +207,7 @@ export default {
...
@@ -207,7 +207,7 @@ export default {
},
},
visible
:
false
,
visible
:
false
,
// orderId: null,
// orderId: null,
orderId
:
1188
0366
,
// 测试数据
orderId
:
1188
1507
,
// 测试数据
order
:
{},
order
:
{},
needPhotograph
:
true
,
// 需要现场拍摄
needPhotograph
:
true
,
// 需要现场拍摄
orderRecords
:
[],
orderRecords
:
[],
...
@@ -464,6 +464,16 @@ export default {
...
@@ -464,6 +464,16 @@ export default {
if
(
option
&&
option
.
id
)
{
if
(
option
&&
option
.
id
)
{
this
.
orderId
=
option
.
id
this
.
orderId
=
option
.
id
}
}
if
(
!
this
.
vuex_token
)
{
this
.
$refs
.
uToast
.
show
({
title
:
'登录过期,请先登录'
,
type
:
'warning'
,
})
setTimeout
(()
=>
{
this
.
$u
.
route
({
url
:
'pages/login/index'
})
},
1500
)
}
if
(
this
.
uploadTask
.
length
>
0
)
{
if
(
this
.
uploadTask
.
length
>
0
)
{
upload
.
uploadImageTask
(
this
)
upload
.
uploadImageTask
(
this
)
}
}
...
...
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