From ff0dda2f0649ced7eeed4486642cdb513ca64285 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Tue, 30 Aug 2022 16:22:52 +0800
Subject: [PATCH] 优化地图模式返回显示,地块管理优化数据显示
---
src/views/wel/index.vue | 6 +++++-
src/views/land/cs.vue | 7 +++++--
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/views/land/cs.vue b/src/views/land/cs.vue
index dde2824..cffaeed 100644
--- a/src/views/land/cs.vue
+++ b/src/views/land/cs.vue
@@ -145,7 +145,10 @@
handler (newName, oldName) {
// this.farm.id = newName
//地块页面
- this.onLoad()
+ setTimeout(() => {
+ this.onLoad()
+ }, 100);
+
}
}
},
@@ -329,7 +332,7 @@
left: 1;
bottom: 0;
margin: auto;
- width: 80px;
+ width: 120px;
height: 24px;
line-height: 24px;
border: 1px solid #64c3a4;
diff --git a/src/views/wel/index.vue b/src/views/wel/index.vue
index 72407fb..6a05abb 100644
--- a/src/views/wel/index.vue
+++ b/src/views/wel/index.vue
@@ -284,7 +284,9 @@
'$farmId':{
handler (newName, oldName) {
this.farm.id = newName
- //农场概览 地块使用率
+
+ setTimeout(() => {
+ //农场概览 地块使用率
this.getCountStatis ()
//本年农事操作记录
this.getFarmingCount()
@@ -293,6 +295,8 @@
this.StockCount()
//当前农场种养品种
this.onLoad()
+ }, 100);
+
}
}
},
--
Gitblit v1.9.3