Browse Source

no message

linwenxin 5 months ago
parent
commit
aca5510f82

+ 1 - 3
src/views/setting/networkSigning/contractManagement/fddContractTemplate/index.vue

@@ -415,9 +415,7 @@ export default {
                 this.formData = {
                   ...res.data,
                   items: (res.data?.items || [])?.map(item => ({ ...item })),
-                  contractTemplatePdf: res.data?.contractTemplatePdf?.[0]?.url
-                    ? [{ url: res.data?.contractTemplatePdf?.[0]?.url }]
-                    : []
+                  contractTemplatePdf: res.data?.contractTemplatePdf ? [{ url: res.data?.contractTemplatePdf }] : []
                 }
                 this.itemsList = (this.formData?.items || [])?.map(item => ({ ...item }))
                 this.$nextTick(() => {