style: lint style

This commit is contained in:
2912401452 2021-09-15 15:34:05 +08:00
parent 916df20c61
commit 3859ff4bbd
1 changed files with 9 additions and 9 deletions

View File

@ -135,12 +135,12 @@ export default class LayerService implements ILayerService {
case 'picking':
// TODO: picking 类型的渲染事件
// 若是上次触发为地图触发的渲染,则认为是地图事件与拾取事件在同时触发,放弃此次渲染
if(this.lastRenderType === 'mapRender') {
this.lastRenderType = 'picking'
return false
if (this.lastRenderType === 'mapRender') {
this.lastRenderType = 'picking';
return false;
} else {
this.lastRenderType = 'picking'
return true
this.lastRenderType = 'picking';
return true;
}
case 'mapRender':
this.lastRenderType = 'mapRender';