Przeglądaj źródła

style:文字修改

zhb 8 miesięcy temu
rodzic
commit
effa4cdd36
1 zmienionych plików z 9 dodań i 9 usunięć
  1. 9 9
      src/views/infrastructure/waterEstablishment.vue

+ 9 - 9
src/views/infrastructure/waterEstablishment.vue

@@ -128,7 +128,7 @@ export default {
           align: 'left'
         },
         {
-          label: '亩均水权(亩/m³)',
+          label: '亩均水权(m³/亩)',
           prop: 'amountPerMu',
           customRender: '',
           align: 'left'
@@ -169,22 +169,22 @@ export default {
           res = await getTree();
           this.$store.dispatch('tree/setTree', res);
         }
-        this.treeData = res?.data
-        let tflag = true
-        this.treeData.forEach(t => {
+        this.treeData = res?.data;
+        let tflag = true;
+        this.treeData.forEach((t) => {
           if (t?.cusareaName == '全部') {
-            tflag = false
+            tflag = false;
           }
-        })
+        });
         if (tflag) {
           this.treeData.unshift({
             id: '',
             cusareaId: '',
             cusareaName: '全部'
-          })
+          });
         }
-        this.cusareaName ||= this.treeData[0].cusareaName
-        this.areaId = this.treeData[0].cusareaId
+        this.cusareaName ||= this.treeData[0].cusareaName;
+        this.areaId = this.treeData[0].cusareaId;
       }
       const params = {
         areaId: this.areaId,