diff --git a/package.json b/package.json index 8fd84f4fda..15be17936c 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "@types/node": "13.11.1", "@types/storybook__react": "^4.0.2", "@types/supercluster": "^5.0.1", + "antd": "^4.2.4", "awesome-typescript-loader": "^5.2.1", "babel-eslint": "8.2.5", "babel-jest": "^24.9.0", diff --git a/stories/District/Layer/drillDown.tsx b/stories/District/Layer/drillDown.tsx index 660f4bac22..91009fab5c 100644 --- a/stories/District/Layer/drillDown.tsx +++ b/stories/District/Layer/drillDown.tsx @@ -1,7 +1,6 @@ import { Scene } from '@antv/l7'; import { DrillDownLayer } from '@antv/l7-district'; import { GaodeMap, Mapbox } from '@antv/l7-maps'; -import { Cascader } from 'antd'; import * as React from 'react'; export default class Country extends React.Component { diff --git a/stories/District/district.stories.tsx b/stories/District/district.stories.tsx index 0753cbe279..50001ace00 100644 --- a/stories/District/district.stories.tsx +++ b/stories/District/district.stories.tsx @@ -1,15 +1,15 @@ import { storiesOf } from '@storybook/react'; require('./../assets/css/antd.css'); import * as React from 'react'; -import City from './Layer/city'; +// import City from './Layer/city'; import Country from './Layer/Country'; import Country2 from './Layer/Country2'; import ChinaBubble from './Layer/country_bubble'; import CountryCity from './Layer/country_city'; import CountryCounty from './Layer/country_county'; -import County from './Layer/county'; +// import County from './Layer/county'; import DrillDown from './Layer/drillDown'; -import Province from './Layer/province'; +// import Province from './Layer/province'; import World from './Layer/world'; storiesOf('行政区划', module) @@ -19,7 +19,7 @@ storiesOf('行政区划', module) .add('中国地图市级', () => ) .add('中国地图县级', () => ) .add('中国地图附图', () => ) - .add('县级地图', () => ) - .add('市级地图', () => ) - .add('上钻下取', () => ) - .add('省级地图', () => ); + // .add('县级地图', () => ) + // .add('市级地图', () => ) + .add('上钻下取', () => ); + // .add('省级地图', () => ); diff --git a/yarn.lock b/yarn.lock index 439204cc4a..a2ede43b0a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5980,7 +5980,7 @@ ansicolors@~0.2.1: resolved "https://registry.npmjs.org/ansicolors/-/ansicolors-0.2.1.tgz#be089599097b74a5c9c4a84a0cdbcdb62bd87aef" integrity sha1-vgiVmQl7dKXJxKhKDNvNtivYeu8= -antd@^4.0.0: +antd@^4.0.0, antd@^4.2.4: version "4.2.4" resolved "https://registry.npmjs.org/antd/-/antd-4.2.4.tgz#0a75e178643858960189912b8fe48bf7e8f6abf8" integrity sha512-g61c1+Ji/tbY+G1GMdk0LsCN3S1ZfoHyj+zcjXmvqZjWfdkJ/bBEzw08I3ytTe5TV8RFued0nnSjT51ruagpSA==