From 6448f71b4c7020fb5c0d7fa9577b08f6eb126727 Mon Sep 17 00:00:00 2001 From: thinkinggis Date: Mon, 14 Dec 2020 17:33:11 +0800 Subject: [PATCH] fix: eslint --- stories/District/Layer/drillDown.tsx | 3 +-- stories/React/components/Scene.tsx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/stories/District/Layer/drillDown.tsx b/stories/District/Layer/drillDown.tsx index 8122f0fab2..02838dad06 100644 --- a/stories/District/Layer/drillDown.tsx +++ b/stories/District/Layer/drillDown.tsx @@ -70,7 +70,7 @@ export default class Country extends React.Component { ], }, }, - drillDownEvent:()=>{ + drillDownEvent: () => { console.log(scene); }, popup: { @@ -81,7 +81,6 @@ export default class Country extends React.Component { }, }); }); - } public render() { diff --git a/stories/React/components/Scene.tsx b/stories/React/components/Scene.tsx index a86312123c..67886b0fa1 100644 --- a/stories/React/components/Scene.tsx +++ b/stories/React/components/Scene.tsx @@ -66,7 +66,7 @@ export default React.memo(function Map() { values: 1, }} color={{ - field:'name', + field: 'name', values: [ '#2E8AE6', '#69D1AB',