Commit 4c2d8eb0 authored by daniel's avatar daniel

fix(invoice): 发票管理优化

parent bc74d894
...@@ -448,7 +448,7 @@ ...@@ -448,7 +448,7 @@
render: (row) => { render: (row) => {
return h(NSpace, { return h(NSpace, {
vertical: true, vertical: true,
}, [ }, row.invoiceUrl ? [
h(NImage, { h(NImage, {
height: "100", height: "100",
src: row.invoiceUrl src: row.invoiceUrl
...@@ -460,6 +460,8 @@ ...@@ -460,6 +460,8 @@
message.success('复制成功') message.success('复制成功')
} }
}, "复制地址"), }, "复制地址"),
] : [
h(NText, {}, "暂无发票链接"),
]) ])
} }
}, },
...@@ -790,7 +792,6 @@ ...@@ -790,7 +792,6 @@
invoiceForm, invoiceForm,
onCancel, onCancel,
onSubmit, onSubmit,
fileList,
invoices, invoices,
query, query,
pagination, pagination,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment