All Projects → heerey525 → antdCascaderDate

heerey525 / antdCascaderDate

Licence: other
202104最新更新,对于antd Cascader 内中国省市区数据的补充,数据基于 2020月12月中华人民共和国县以上行政区划代码,生成此数据的方法:https://github.com/heerey525/antdCascaderDateMethod

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to antdCascaderDate

antd-multi-cascader
A multiple cascader component for antd
Stars: ✭ 81 (-48.73%)
Mutual labels:  antd, cascader
fishing-funds
基金,大盘,股票,虚拟货币状态栏显示小应用,基于Electron开发,支持MacOS,Windows,Linux客户端,数据源来自天天基金,蚂蚁基金,爱基金,腾讯证券,新浪基金等
Stars: ✭ 424 (+168.35%)
Mutual labels:  antd
react-bike
react和antd 共享单车后台管理系统
Stars: ✭ 19 (-87.97%)
Mutual labels:  antd
7-react-admin-ts
用 ts + react-hooks 实现的管理后台
Stars: ✭ 23 (-85.44%)
Mutual labels:  antd
el-cascader-multi
基于element-ui的级联多选选择器,友好显示下拉箭头,样式与element一致,支持多选与级联选择器的大部分功能。
Stars: ✭ 137 (-13.29%)
Mutual labels:  cascader
react-cli
基于 create-react-app 搭建的前端脚手架
Stars: ✭ 18 (-88.61%)
Mutual labels:  antd
favv
Fullstack Web Application Framework With FastAPI + Vite + VueJS. Streamlit for rapid development.
Stars: ✭ 17 (-89.24%)
Mutual labels:  antd
Deep-Viz-Website
The Deep-Viz Components' display website ( Base on React + Dva + Ant-Design) 组件库Deep-Viz的展示网站
Stars: ✭ 12 (-92.41%)
Mutual labels:  antd
blog
个人博客(Junming.Su) Blog 个人博客 喜欢写文章 收藏文章
Stars: ✭ 17 (-89.24%)
Mutual labels:  antd
redux-form-antd
Ant design bindings for redux form
Stars: ✭ 107 (-32.28%)
Mutual labels:  antd
umi-plugin-antd-theme
🎨 Best theme plugin
Stars: ✭ 77 (-51.27%)
Mutual labels:  antd
react-antd-ie8
兼容到ie8的react/antd/redux/router; demo查看 https://heavensky.github.io/react-antd-ie8 (慢) 或 http://heavensky.gitee.io/react-antd-ie8 (快); 全最新且支持ie9查看 https://github.com/HeavenSky/react-antd-ie9; 本项目已更新和迁移到 https://github.com/HeavenSky/webpack-frames
Stars: ✭ 18 (-88.61%)
Mutual labels:  antd
react-drag
A drag and drop platform based on sortable.js front-end visualization. 一个基于sortable.js的前端可视化搭建的拖拽平台,ui组件采用antd-mobile.通过umi脚手架构建.技术栈采用dva+hooks+umi+antd-mobile+sortable.js+react-color.
Stars: ✭ 51 (-67.72%)
Mutual labels:  antd
mobxSpa
企业级SPA项目,完整开发脚手架
Stars: ✭ 96 (-39.24%)
Mutual labels:  antd
the-green-meal
🍒 Keep track of your meals calories
Stars: ✭ 81 (-48.73%)
Mutual labels:  antd
umi-dva-typescript-mock
基于umi + dva + typescript + mock + antd的react框架,内置PWA
Stars: ✭ 17 (-89.24%)
Mutual labels:  antd
react-starter-kit
基于webpack4 + ES6/7 + less + React16 + Redux4 + React-Router4 + react-hot-loader4 + antd
Stars: ✭ 27 (-82.91%)
Mutual labels:  antd
dva-typescript-antd-starter-kit
A admin dashboard application demo based on antd by typescript and dva
Stars: ✭ 61 (-61.39%)
Mutual labels:  antd
animaris
Documentation and Mock for JSBridge base on ThinkJS & MongoDB & React & Antd.
Stars: ✭ 28 (-82.28%)
Mutual labels:  antd
epee-react-admin
🗡简洁、高效、易扩展的 React 快速开发模板,基于布局设计,纯 Hooks 开发,包含中后台应用常用功能
Stars: ✭ 87 (-44.94%)
Mutual labels:  antd

antdCascaderDate

对于antd Cascader 内中国省市区数据的补充,数据来源 2020月12月中华人民共和国县以上行政区划代码 http://www.mca.gov.cn/article/sj/xzqh/2020/20201201.html

202012及之前版本, 数据缺失补充说明:

缺失 三沙市下辖 西沙区、南沙区 缺失 海南省直辖县级市 缺失 新疆维吾尔自治区直辖县级市 缺失 湖北省直辖县级市 缺失 河南省直辖国家产城融合示范区

使用方法

NPM方式

安装

# npm
npm install @heerey525/china-division-data --save

引用

# Cascader级联数据(js): antdOptions
# 省市二级联动数据(json): provinceData、cityData
import { antdOptions, cityData, provinceData } from '@heerey525/china-division-data'

CDN方式

引入

<script src="https://unpkg.com/@heerey525/[email protected]/dist/china-division-data.min.js"></script>
# 或者
<script src="https://cdn.jsdelivr.net/npm/@heerey525/[email protected]/dist/china-division-data.min.js"></script>

使用

chinaDivision.antdOptions

手动引入

你需要的文件是:

Cascader级联数据:cities.js 省市二级联动数据:city

用法参考:antd级联选择 网页展示:网页展示

运行

本项目

# 克隆项目
git clone https://github.com/heerey525/antdCascaderDate.git
# 进入项目目录
cd antdCascaderDate
# 安装依赖
npm install
#运行
npm start

npm包

# 克隆项目
git clone https://github.com/heerey525/antdCascaderDate.git
# 进入npm包目录
cd antdCascaderDate/npm
# 安装依赖
npm install
#运行
npm start

最近发现很多人star这个项目,所以我新开一个项目将生成此数据的方法公开,https://github.com/heerey525/antdCascaderDateMethod 欢迎star

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].