-
+
+
+
+
+
左侧统计面板
+
+
+
+
右侧统计面板
+
+
+
diff --git a/superManagement/src/views/unitManage/police/unitManage/index.tsx b/superManagement/src/views/unitManage/police/unitManage/index.tsx
index 5b2ed13..0ac9090 100644
--- a/superManagement/src/views/unitManage/police/unitManage/index.tsx
+++ b/superManagement/src/views/unitManage/police/unitManage/index.tsx
@@ -87,7 +87,7 @@ const saveOrUpdateEnterprisesUnit = (params: _FormType, callback: Function) => {
placeholder={'请输入详细地址'}
autocomplete="off"
onFocus={() => {
- if (!_mapRef.value.mapInstance) {
+ if (!_mapRef.value?.mapInstance) {
message.error('地图组件尚未初始化成功 请重新打开页面')
return
}