mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
fix(map): amap reset (#4574)
This commit is contained in:
parent
22a89861f6
commit
0c637e8890
@ -371,6 +371,8 @@ export const AMapComponent = React.forwardRef<AMapForwardedRefProps, AMapCompone
|
||||
map.current = null;
|
||||
mouseTool.current = null;
|
||||
editor.current = null;
|
||||
// @ts-ignore
|
||||
AMapLoader.reset();
|
||||
};
|
||||
}, [accessKey, type, securityJsCode]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user