|
|
@@ -271,6 +271,7 @@ onActivated(() => {
|
|
|
isFarmNameManuallyModified.value = false;
|
|
|
// 清空上一次地块缓存
|
|
|
store.commit("home/SET_FARM_POLYGON", null);
|
|
|
+ getSpecieList();
|
|
|
}
|
|
|
// 确保地图已初始化,使用 nextTick 等待 DOM 更新
|
|
|
nextTick(() => {
|
|
|
@@ -288,7 +289,6 @@ onActivated(() => {
|
|
|
}, 100);
|
|
|
return;
|
|
|
}
|
|
|
-
|
|
|
handleMapUpdate();
|
|
|
});
|
|
|
});
|
|
|
@@ -822,7 +822,6 @@ function updateFarmNameIfNeeded() {
|
|
|
|
|
|
// 回填编辑数据
|
|
|
function populateEditData() {
|
|
|
- console.log('populateEditData');
|
|
|
const editData = store.state.home.editFarmData;
|
|
|
if (!editData) {
|
|
|
return;
|
|
|
@@ -1158,10 +1157,10 @@ function handleMianjiInput(value) {
|
|
|
justify-content: center;
|
|
|
}
|
|
|
|
|
|
- .el-select__selection {
|
|
|
- flex: none;
|
|
|
- width: fit-content;
|
|
|
- }
|
|
|
+ // .el-select__selection {
|
|
|
+ // flex: none;
|
|
|
+ // width: min-content;
|
|
|
+ // }
|
|
|
|
|
|
.el-select__placeholder {
|
|
|
color: #000;
|
|
|
@@ -1180,7 +1179,8 @@ function handleMianjiInput(value) {
|
|
|
}
|
|
|
|
|
|
.select-item {
|
|
|
- min-width: 100px;
|
|
|
+ min-width: 80px;
|
|
|
+ margin-left: 10px;
|
|
|
}
|
|
|
}
|
|
|
|