浏览代码

页面调整

shuhao 6 月之前
父节点
当前提交
addc316cf0
共有 1 个文件被更改,包括 3 次插入0 次删除
  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;