Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
f63d518d
authored
Sep 19, 2023
by
芋道源码
Committed by
Gitee
Sep 19, 2023
Browse files
Options
Browse Files
Download
Plain Diff
!243 订单详情页面 请求详情接口改为真实携带的id
Merge pull request !243 from 风狗/dev
parents
1be57ea8
24530145
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/views/mall/trade/order/detail/index.vue
+2
-2
No files found.
src/views/mall/trade/order/detail/index.vue
View file @
f63d518d
...
@@ -245,9 +245,9 @@ const { params } = useRoute() // 查询参数
...
@@ -245,9 +245,9 @@ const { params } = useRoute() // 查询参数
const
getDetail
=
async
()
=>
{
const
getDetail
=
async
()
=>
{
const
id
=
params
.
orderId
as
unknown
as
number
const
id
=
params
.
orderId
as
unknown
as
number
if
(
id
)
{
if
(
id
)
{
const
res
=
(
await
TradeOrderApi
.
getOrder
(
66666
))
as
TradeOrderApi
.
OrderVO
const
res
=
(
await
TradeOrderApi
.
getOrder
(
id
))
as
TradeOrderApi
.
OrderVO
// 没有表单信息则关闭页面返回
// 没有表单信息则关闭页面返回
if
(
res
==
null
)
{
if
(
res
==
=
null
)
{
message
.
error
(
'交易订单不存在'
)
message
.
error
(
'交易订单不存在'
)
close
()
close
()
}
}
...
...
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