소스 검색

默认值

1
mo 3 년 전
부모
커밋
1505ed4cd9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/main/cloudDate/allDate.vue

+ 1 - 1
src/views/main/cloudDate/allDate.vue

@@ -27,7 +27,7 @@
               />
             </el-tooltip>
           </span>
-          <span> <count-to :endVal="item.percent" /> </span>
+          <span> <count-to :endVal="item.percent || 0" /> </span>
         </statistic-item>
       </statistic>
     </el-card>