|
@@ -635,7 +635,13 @@ const toggleSectionOption = (section, value) => {
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+/** keep-alive 离开再进:清掉「修改」态,按接口已答态回到「已答 + 修改」 */
|
|
|
|
|
+function resetEditingState() {
|
|
|
|
|
+ Object.keys(editingMap).forEach((k) => delete editingMap[k]);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
onActivated(() => {
|
|
onActivated(() => {
|
|
|
|
|
+ resetEditingState();
|
|
|
fetchZoneRangeStatus();
|
|
fetchZoneRangeStatus();
|
|
|
fetchSoilRootInteract();
|
|
fetchSoilRootInteract();
|
|
|
if (route.query.showUpload !== "1") return;
|
|
if (route.query.showUpload !== "1") return;
|