mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 11:12:20 +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;
|
map.current = null;
|
||||||
mouseTool.current = null;
|
mouseTool.current = null;
|
||||||
editor.current = null;
|
editor.current = null;
|
||||||
|
// @ts-ignore
|
||||||
|
AMapLoader.reset();
|
||||||
};
|
};
|
||||||
}, [accessKey, type, securityJsCode]);
|
}, [accessKey, type, securityJsCode]);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user