Commit 66e4f2ed by Jony.L

fix发票预览

parent 654d8724
...@@ -341,7 +341,6 @@ const pdfDialogVisible = ref(false) ...@@ -341,7 +341,6 @@ const pdfDialogVisible = ref(false)
const invoiceUrl = ref('') const invoiceUrl = ref('')
function viewInvoice(row) { function viewInvoice(row) {
debugger;
invoiceUrl.value = import.meta.env.VITE_BASE_URL+'/admin-api/infra/file/preview?url=' + row.invoiceUrl // 从接口带回的 pdf 地址 invoiceUrl.value = import.meta.env.VITE_BASE_URL+'/admin-api/infra/file/preview?url=' + row.invoiceUrl // 从接口带回的 pdf 地址
pdfDialogVisible.value = true pdfDialogVisible.value = true
} }
......
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 sign in to comment