fix: 删除react Scene组件错误代码

This commit is contained in:
聆一 2020-02-21 14:43:37 +08:00
parent 5149e59cd0
commit acfa2dec33
1 changed files with 0 additions and 8 deletions

View File

@ -37,14 +37,6 @@ export default React.memo((props: IMapSceneConig) => {
};
}, []);
// 更新地图
useEffect(() => {
if (!scene) {
return;
}
scene.setMapStyle(style);
}, [style]);
return (
<SceneContext.Provider value={scene}>
{createElement(