linwenxin před 5 měsíci
rodič
revize
c7d0b1f126

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

@@ -347,9 +347,7 @@ export default {
               }).then(res => {
                 this.formData = {
                   ...res.data,
-                  businessLicenseUrl: res.data?.businessLicenseUrl?.[0]?.url
-                    ? [{ url: res.data?.businessLicenseUrl?.[0]?.url }]
-                    : []
+                  businessLicenseUrl: res.data?.businessLicenseUrl ? [{ url: res.data?.businessLicenseUrl }] : []
                 }
                 this.$nextTick(() => {
                   this.formType = 1