This commit is contained in:
磷叶 2025-05-16 18:03:03 +08:00
parent e91ff5ce97
commit 205b818168

View File

@ -316,6 +316,9 @@ export default {
updateAreaSub({id: row.id, status: val}).then(response => {
if (response.code == 200) {
this.$modal.msgSuccess("更新成功");
this.$nextTick(() => {
this.$refs.map.renderSubAreas();
});
}
}).catch(() => {
row.status = val == AreaSubStatus.NORMAL ? AreaSubStatus.DISABLED : AreaSubStatus.NORMAL;