shuhao 6 kuukautta sitten
vanhempi
commit
addc316cf0
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      src/views/home/components/homeFile.vue

+ 3 - 0
src/views/home/components/homeFile.vue

@@ -211,6 +211,9 @@ function setFileData(type_id) {
     type_id = "0"
   }
   const res = allTypeData.value.find((item) => item.type_id == type_id);
+  if(res.production_info.zuoguo_ratio && res.production_info.zuoguo_ratio > 30){
+    res.production_info.zuoguo_ratio = res.production_info.zuoguo_ratio * 0.15
+  }
 
   photoBaseData.value[1].value = res.meta_info.avg_crown + "平方米";
     photoBaseData.value[2].value = res.meta_info.avg_branch_num;