소스 검색

no message

linwenxin 5 달 전
부모
커밋
c7d0b1f126
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      src/views/setting/networkSigning/contractManagement/enterpriseCaCertification/index.vue

+ 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