소스 검색

错误解决

maxiaoxiao 4 일 전
부모
커밋
724370bf4c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/remote/farmland/details.vue

+ 1 - 1
src/views/remote/farmland/details.vue

@@ -263,7 +263,7 @@ function handleClick({ id, auditflowId }, isfirst) {
     else if (activeName.value == "hcxx" || isfirst)
       getHcInfo({ dkid: id, auditflowStep: "WYDC", auditflowId }).then(
         (res) => {
-          hcxxList.value = res.data;
+          hcxxList.value = res.data || [];
           nextTick(() => {
             for (let index = 0; index < hcxxList.value.length; index++) {
               hcxxRef.value[index].init(hcxxList.value[index].sdfjs);