修复包报错 1
This commit is contained in:
@@ -1146,7 +1146,7 @@ function buildIndustryActionResultView(
|
|||||||
meta?: { refundCount?: number },
|
meta?: { refundCount?: number },
|
||||||
): IndustryActionResultView {
|
): IndustryActionResultView {
|
||||||
const scope: IndustryActionScope = kind.startsWith('refund') ? 'refunds' : 'vouchers'
|
const scope: IndustryActionScope = kind.startsWith('refund') ? 'refunds' : 'vouchers'
|
||||||
const record = asRecord(raw)
|
const record = asRecord(raw) ?? {}
|
||||||
const openApi = asOpenApiShape(record)
|
const openApi = asOpenApiShape(record)
|
||||||
const voucher = asRecord(record.voucher)
|
const voucher = asRecord(record.voucher)
|
||||||
const task = asRecord(record.task)
|
const task = asRecord(record.task)
|
||||||
|
|||||||
Reference in New Issue
Block a user