commit
f63d518d0d
@ -245,9 +245,9 @@ const { params } = useRoute() // 查询参数
|
||||
const getDetail = async () => {
|
||||
const id = params.orderId as unknown as number
|
||||
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('交易订单不存在')
|
||||
close()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user