2

这里处理的数据是为了适配Element UI的 cascader组件。

所以做成了tree结构的。只具体到市,没到区和县。网上找了很多,有的对应的城市code不对,或者是干脆没有城市code,还有很多适应不了这个组件。我做了一些小小的改造。

先看下效果图吧:

下面是具体数据:

 [
  {
    name: '北京市',
    level: '1',
    code: '110000',
    children: [{ code: '110100', name: '北京市', province: '北京市' }]
  },
  {
    name: '天津市',
    level: '1',
    code: '120000',
    children: [{ code: '120100', name: '天津市', province: '天津市' }]
  },
  {
    name: '河北省',
    level: '1',
    code: '130000',
    children: [
      { code: '130100', name: '石家庄市', province: '河北省' },
      { code: '130200', name: '唐山市', province: '河北省' },
      { code: '130300', name: '秦皇岛市', province: '河北省' },
      { code: '130400', name: '邯郸市', province: '河北省' },
      { code: '130500', name: '邢台市', province: '河北省' },
      { code: '130600', name: '保定市', province: '河北省' },
      { code: '130681', name: '涿州市', province: '河北省' },
      { code: '130682', name: '定州市', province: '河北省' },
      { code: '130683', name: '安国市', province: '河北省' },
      { code: '130684', name: '高碑店市', province: '河北省' },
      { code: '130700', name: '张家口市', province: '河北省' },
      { code: '130800', name: '承德市', province: '河北省' },
      { code: '130900', name: '沧州市', province: '河北省' },
      { code: '131000', name: '廊坊市', province: '河北省' },
      { code: '131100', name: '衡水市', province: '河北省' }
    ]
  },
  {
    name: '山西省',
    level: '1',
    code: '140000',
    children: [
      { code: '140100', name: '太原市', province: '山西省' },
      { code: '140200', name: '大同市', province: '山西省' },
      { code: '140300', name: '阳泉市', province: '山西省' },
      { code: '140400', name: '长治市', province: '山西省' },
      { code: '140500', name: '晋城市', province: '山西省' },
      { code: '140600', name: '朔州市', province: '山西省' },
      { code: '140700', name: '晋中市', province: '山西省' },
      { code: '140800', name: '运城市', province: '山西省' },
      { code: '140900', name: '忻州市', province: '山西省' },
      { code: '141000', name: '临汾市', province: '山西省' },
      { code: '141100', name: '吕梁市', province: '山西省' }
    ]
  },
  {
    name: '内蒙古自治区',
    level: '1',
    code: '150000',
    children: [
      { code: '150100', name: '呼和浩特市', province: '内蒙古自治区' },
      { code: '150200', name: '包头市', province: '内蒙古自治区' },
      { code: '150300', name: '乌海市', province: '内蒙古自治区' },
      { code: '150400', name: '赤峰市', province: '内蒙古自治区' },
      { code: '150500', name: '通辽市', province: '内蒙古自治区' },
      { code: '150600', name: '鄂尔多斯市', province: '内蒙古自治区' },
      { code: '150700', name: '呼伦贝尔市', province: '内蒙古自治区' },
      { code: '150800', name: '巴彦淖尔市', province: '内蒙古自治区' },
      { code: '150900', name: '乌兰察布市', province: '内蒙古自治区' },
      { code: '152200', name: '兴安盟', province: '内蒙古自治区' },
      { code: '152500', name: '锡林郭勒盟', province: '内蒙古自治区' },
      { code: '152900', name: '阿拉善盟', province: '内蒙古自治区' }
    ]
  },
  {
    name: '辽宁省',
    level: '1',
    code: '210000',
    children: [
      { code: '210100', name: '沈阳市', province: '辽宁省' },
      { code: '210200', name: '大连市', province: '辽宁省' },
      { code: '210300', name: '鞍山市', province: '辽宁省' },
      { code: '210400', name: '抚顺市', province: '辽宁省' },
      { code: '210500', name: '本溪市', province: '辽宁省' },
      { code: '210600', name: '丹东市', province: '辽宁省' },
      { code: '210700', name: '锦州市', province: '辽宁省' },
      { code: '210800', name: '营口市', province: '辽宁省' },
      { code: '210900', name: '阜新市', province: '辽宁省' },
      { code: '211000', name: '辽阳市', province: '辽宁省' },
      { code: '211100', name: '盘锦市', province: '辽宁省' },
      { code: '211200', name: '铁岭市', province: '辽宁省' },
      { code: '211300', name: '朝阳市', province: '辽宁省' },
      { code: '211400', name: '葫芦岛市', province: '辽宁省' }
    ]
  },
  {
    name: '吉林省',
    level: '1',
    code: '220000',
    children: [
      { code: '220100', name: '长春市', province: '吉林省' },
      { code: '220200', name: '吉林市', province: '吉林省' },
      { code: '220300', name: '四平市', province: '吉林省' },
      { code: '220400', name: '辽源市', province: '吉林省' },
      { code: '220500', name: '通化市', province: '吉林省' },
      { code: '220600', name: '白山市', province: '吉林省' },
      { code: '220700', name: '松原市', province: '吉林省' },
      { code: '220800', name: '白城市', province: '吉林省' },
      { code: '222400', name: '延边朝鲜族自治州', province: '吉林省' }
    ]
  },
  {
    name: '黑龙江省',
    level: '1',
    code: '230000',
    children: [
      { code: '230100', name: '哈尔滨市', province: '黑龙江省' },
      { code: '230200', name: '齐齐哈尔市', province: '黑龙江省' },
      { code: '230300', name: '鸡西市', province: '黑龙江省' },
      { code: '230400', name: '鹤岗市', province: '黑龙江省' },
      { code: '230500', name: '双鸭山市', province: '黑龙江省' },
      { code: '230600', name: '大庆市', province: '黑龙江省' },
      { code: '230700', name: '伊春市', province: '黑龙江省' },
      { code: '230800', name: '佳木斯市', province: '黑龙江省' },
      { code: '230900', name: '七台河市', province: '黑龙江省' },
      { code: '231000', name: '牡丹江市', province: '黑龙江省' },
      { code: '231100', name: '黑河市', province: '黑龙江省' },
      { code: '231200', name: '绥化市', province: '黑龙江省' },
      { code: '232700', name: '大兴安岭地区', province: '黑龙江省' }
    ]
  },
  {
    name: '上海市',
    level: '1',
    code: '310000',
    children: [{ code: '310100', name: '上海市', province: '上海市' }]
  },
  {
    name: '江苏省',
    level: '1',
    code: '320000',
    children: [
      { code: '320100', name: '南京市', province: '江苏省' },
      { code: '320200', name: '无锡市', province: '江苏省' },
      { code: '320300', name: '徐州市', province: '江苏省' },
      { code: '320400', name: '常州市', province: '江苏省' },
      { code: '320500', name: '苏州市', province: '江苏省' },
      { code: '320600', name: '南通市', province: '江苏省' },
      { code: '320700', name: '连云港市', province: '江苏省' },
      { code: '320800', name: '淮安市', province: '江苏省' },
      { code: '320900', name: '盐城市', province: '江苏省' },
      { code: '321000', name: '扬州市', province: '江苏省' },
      { code: '321100', name: '镇江市', province: '江苏省' },
      { code: '321200', name: '泰州市', province: '江苏省' },
      { code: '321300', name: '宿迁市', province: '江苏省' }
    ]
  },
  {
    name: '浙江省',
    level: '1',
    code: '330000',
    children: [
      { code: '330100', name: '杭州市', province: '浙江省' },
      { code: '330200', name: '宁波市', province: '浙江省' },
      { code: '330300', name: '温州市', province: '浙江省' },
      { code: '330400', name: '嘉兴市', province: '浙江省' },
      { code: '330500', name: '湖州市', province: '浙江省' },
      { code: '330600', name: '绍兴市', province: '浙江省' },
      { code: '330700', name: '金华市', province: '浙江省' },
      { code: '330800', name: '衢州市', province: '浙江省' },
      { code: '330900', name: '舟山市', province: '浙江省' },
      { code: '331000', name: '台州市', province: '浙江省' },
      { code: '331100', name: '丽水市', province: '浙江省' }
    ]
  },
  {
    name: '安徽省',
    level: '1',
    code: '340000',
    children: [
      { code: '340100', name: '合肥市', province: '安徽省' },
      { code: '340200', name: '芜湖市', province: '安徽省' },
      { code: '340300', name: '蚌埠市', province: '安徽省' },
      { code: '340400', name: '淮南市', province: '安徽省' },
      { code: '340500', name: '马鞍山市', province: '安徽省' },
      { code: '340600', name: '淮北市', province: '安徽省' },
      { code: '340700', name: '铜陵市', province: '安徽省' },
      { code: '340800', name: '安庆市', province: '安徽省' },
      { code: '341000', name: '黄山市', province: '安徽省' },
      { code: '341100', name: '滁州市', province: '安徽省' },
      { code: '341200', name: '阜阳市', province: '安徽省' },
      { code: '341300', name: '宿州市', province: '安徽省' },
      { code: '341500', name: '六安市', province: '安徽省' },
      { code: '341600', name: '亳州市', province: '安徽省' },
      { code: '341700', name: '池州市', province: '安徽省' },
      { code: '341800', name: '宣城市', province: '安徽省' }
    ]
  },
  {
    name: '福建省',
    level: '1',
    code: '350000',
    children: [
      { code: '350100', name: '福州市', province: '福建省' },
      { code: '350200', name: '厦门市', province: '福建省' },
      { code: '350300', name: '莆田市', province: '福建省' },
      { code: '350400', name: '三明市', province: '福建省' },
      { code: '350500', name: '泉州市', province: '福建省' },
      { code: '350600', name: '漳州市', province: '福建省' },
      { code: '350700', name: '南平市', province: '福建省' },
      { code: '350800', name: '龙岩市', province: '福建省' },
      { code: '350900', name: '宁德市', province: '福建省' }
    ]
  },
  {
    name: '江西省',
    level: '1',
    code: '360000',
    children: [
      { code: '360100', name: '南昌市', province: '江西省' },
      { code: '360200', name: '景德镇市', province: '江西省' },
      { code: '360300', name: '萍乡市', province: '江西省' },
      { code: '360400', name: '九江市', province: '江西省' },
      { code: '360500', name: '新余市', province: '江西省' },
      { code: '360600', name: '鹰潭市', province: '江西省' },
      { code: '360700', name: '赣州市', province: '江西省' },
      { code: '360800', name: '吉安市', province: '江西省' },
      { code: '360900', name: '宜春市', province: '江西省' },
      { code: '361000', name: '抚州市', province: '江西省' },
      { code: '361100', name: '上饶市', province: '江西省' }
    ]
  },
  {
    name: '山东省',
    level: '1',
    code: '370000',
    children: [
      { code: '370100', name: '济南市', province: '山东省' },
      { code: '370200', name: '青岛市', province: '山东省' },
      { code: '370300', name: '淄博市', province: '山东省' },
      { code: '370400', name: '枣庄市', province: '山东省' },
      { code: '370500', name: '东营市', province: '山东省' },
      { code: '370600', name: '烟台市', province: '山东省' },
      { code: '370700', name: '潍坊市', province: '山东省' },
      { code: '370800', name: '济宁市', province: '山东省' },
      { code: '370900', name: '泰安市', province: '山东省' },
      { code: '371000', name: '威海市', province: '山东省' },
      { code: '371100', name: '日照市', province: '山东省' },
      { code: '371300', name: '临沂市', province: '山东省' },
      { code: '371400', name: '德州市', province: '山东省' },
      { code: '371500', name: '聊城市', province: '山东省' },
      { code: '371600', name: '滨州市', province: '山东省' },
      { code: '371700', name: '菏泽市', province: '山东省' }
    ]
  },
  {
    name: '河南省',
    level: '1',
    code: '410000',
    children: [
      { code: '410100', name: '郑州市', province: '河南省' },
      { code: '410200', name: '开封市', province: '河南省' },
      { code: '410300', name: '洛阳市', province: '河南省' },
      { code: '410400', name: '平顶山市', province: '河南省' },
      { code: '410500', name: '安阳市', province: '河南省' },
      { code: '410600', name: '鹤壁市', province: '河南省' },
      { code: '410700', name: '新乡市', province: '河南省' },
      { code: '410800', name: '焦作市', province: '河南省' },
      { code: '410900', name: '濮阳市', province: '河南省' },
      { code: '411000', name: '许昌市', province: '河南省' },
      { code: '411100', name: '漯河市', province: '河南省' },
      { code: '411200', name: '三门峡市', province: '河南省' },
      { code: '411300', name: '南阳市', province: '河南省' },
      { code: '411400', name: '商丘市', province: '河南省' },
      { code: '411500', name: '信阳市', province: '河南省' },
      { code: '411600', name: '周口市', province: '河南省' },
      { code: '411700', name: '驻马店市', province: '河南省' },
      { code: '419001', name: '济源市', province: '河南省' }
    ]
  },
  {
    name: '湖北省',
    level: '1',
    code: '420000',
    children: [
      { code: '420100', name: '武汉市', province: '湖北省' },
      { code: '420200', name: '黄石市', province: '湖北省' },
      { code: '420300', name: '十堰市', province: '湖北省' },
      { code: '420500', name: '宜昌市', province: '湖北省' },
      { code: '420600', name: '襄阳市', province: '湖北省' },
      { code: '420700', name: '鄂州市', province: '湖北省' },
      { code: '420800', name: '荆门市', province: '湖北省' },
      { code: '420900', name: '孝感市', province: '湖北省' },
      { code: '421000', name: '荆州市', province: '湖北省' },
      { code: '421100', name: '黄冈市', province: '湖北省' },
      { code: '421200', name: '咸宁市', province: '湖北省' },
      { code: '421300', name: '随州市', province: '湖北省' },
      { code: '422800', name: '恩施土家族苗族自治州', province: '湖北省' },
      { code: '429004', name: '仙桃市', province: '湖北省' },
      { code: '429005', name: '潜江市', province: '湖北省' },
      { code: '429006', name: '天门市', province: '湖北省' },
      { code: '429021', name: '神农架林区', province: '湖北省' }
    ]
  },
  {
    name: '湖南省',
    level: '1',
    code: '430000',
    children: [
      { code: '430100', name: '长沙市', province: '湖南省' },
      { code: '430200', name: '株洲市', province: '湖南省' },
      { code: '430300', name: '湘潭市', province: '湖南省' },
      { code: '430400', name: '衡阳市', province: '湖南省' },
      { code: '430500', name: '邵阳市', province: '湖南省' },
      { code: '430600', name: '岳阳市', province: '湖南省' },
      { code: '430700', name: '常德市', province: '湖南省' },
      { code: '430800', name: '张家界市', province: '湖南省' },
      { code: '430900', name: '益阳市', province: '湖南省' },
      { code: '431000', name: '郴州市', province: '湖南省' },
      { code: '431100', name: '永州市', province: '湖南省' },
      { code: '431200', name: '怀化市', province: '湖南省' },
      { code: '431300', name: '娄底市', province: '湖南省' },
      { code: '433100', name: '湘西土家族苗族自治州', province: '湖南省' }
    ]
  },
  {
    name: '广东省',
    level: '1',
    code: '440000',
    children: [
      { code: '440100', name: '广州市', province: '广东省' },
      { code: '440200', name: '韶关市', province: '广东省' },
      { code: '440300', name: '深圳市', province: '广东省' },
      { code: '440400', name: '珠海市', province: '广东省' },
      { code: '440500', name: '汕头市', province: '广东省' },
      { code: '440600', name: '佛山市', province: '广东省' },
      { code: '440700', name: '江门市', province: '广东省' },
      { code: '440800', name: '湛江市', province: '广东省' },
      { code: '440900', name: '茂名市', province: '广东省' },
      { code: '441200', name: '肇庆市', province: '广东省' },
      { code: '441300', name: '惠州市', province: '广东省' },
      { code: '441400', name: '梅州市', province: '广东省' },
      { code: '441500', name: '汕尾市', province: '广东省' },
      { code: '441600', name: '河源市', province: '广东省' },
      { code: '441700', name: '阳江市', province: '广东省' },
      { code: '441800', name: '清远市', province: '广东省' },
      { code: '441900', name: '东莞市', province: '广东省' },
      { code: '442000', name: '中山市', province: '广东省' },
      { code: '445100', name: '潮州市', province: '广东省' },
      { code: '445200', name: '揭阳市', province: '广东省' },
      { code: '445300', name: '云浮市', province: '广东省' }
    ]
  },
  {
    name: '广西壮族自治区',
    level: '1',
    code: '450000',
    children: [
      { code: '450100', name: '南宁市', province: '广西壮族自治区' },
      { code: '450200', name: '柳州市', province: '广西壮族自治区' },
      { code: '450300', name: '桂林市', province: '广西壮族自治区' },
      { code: '450400', name: '梧州市', province: '广西壮族自治区' },
      { code: '450500', name: '北海市', province: '广西壮族自治区' },
      { code: '450600', name: '防城港市', province: '广西壮族自治区' },
      { code: '450700', name: '钦州市', province: '广西壮族自治区' },
      { code: '450800', name: '贵港市', province: '广西壮族自治区' },
      { code: '450900', name: '玉林市', province: '广西壮族自治区' },
      { code: '451000', name: '百色市', province: '广西壮族自治区' },
      { code: '451100', name: '贺州市', province: '广西壮族自治区' },
      { code: '451200', name: '河池市', province: '广西壮族自治区' },
      { code: '451300', name: '来宾市', province: '广西壮族自治区' },
      { code: '451400', name: '崇左市', province: '广西壮族自治区' }
    ]
  },
  {
    name: '海南省',
    level: '1',
    code: '460000',
    children: [
      { code: '460100', name: '海口市', province: '海南省' },
      { code: '460200', name: '三亚市', province: '海南省' },
      { code: '460300', name: '三沙市', province: '海南省' },
      { code: '460400', name: '儋州市', province: '海南省' },
      { code: '469001', name: '五指山市', province: '海南省' },
      { code: '469002', name: '琼海市', province: '海南省' },
      { code: '469005', name: '文昌市', province: '海南省' },
      { code: '469006', name: '万宁市', province: '海南省' },
      { code: '469007', name: '东方市', province: '海南省' },
      { code: '469021', name: '定安县', province: '海南省' },
      { code: '469022', name: '屯昌县', province: '海南省' },
      { code: '469023', name: '澄迈县', province: '海南省' },
      { code: '469024', name: '临高县', province: '海南省' },
      { code: '469025', name: '白沙黎族自治县', province: '海南省' },
      { code: '469026', name: '昌江黎族自治县', province: '海南省' },
      { code: '469027', name: '乐东黎族自治县', province: '海南省' },
      { code: '469028', name: '陵水黎族自治县', province: '海南省' },
      { code: '469029', name: '保亭黎族苗族自治县', province: '海南省' },
      { code: '469030', name: '琼中黎族苗族自治县', province: '海南省' }
    ]
  },
  {
    name: '重庆市',
    level: '1',
    code: '500000',
    children: [{ code: '500100', name: '重庆市', province: '重庆市' }]
  },
  {
    name: '四川省',
    level: '1',
    code: '510000',
    children: [
      { code: '510100', name: '成都市', province: '四川省' },
      { code: '510300', name: '自贡市', province: '四川省' },
      { code: '510400', name: '攀枝花市', province: '四川省' },
      { code: '510500', name: '泸州市', province: '四川省' },
      { code: '510600', name: '德阳市', province: '四川省' },
      { code: '510700', name: '绵阳市', province: '四川省' },
      { code: '510800', name: '广元市', province: '四川省' },
      { code: '510900', name: '遂宁市', province: '四川省' },
      { code: '511000', name: '内江市', province: '四川省' },
      { code: '511100', name: '乐山市', province: '四川省' },
      { code: '511300', name: '南充市', province: '四川省' },
      { code: '511400', name: '眉山市', province: '四川省' },
      { code: '511500', name: '宜宾市', province: '四川省' },
      { code: '511600', name: '广安市', province: '四川省' },
      { code: '511700', name: '达州市', province: '四川省' },
      { code: '511800', name: '雅安市', province: '四川省' },
      { code: '511900', name: '巴中市', province: '四川省' },
      { code: '512000', name: '资阳市', province: '四川省' },
      { code: '513200', name: '阿坝藏族羌族自治州', province: '四川省' },
      { code: '513300', name: '甘孜藏族自治州', province: '四川省' },
      { code: '513400', name: '凉山彝族自治州', province: '四川省' }
    ]
  },
  {
    name: '贵州省',
    level: '1',
    code: '520000',
    children: [
      { code: '520100', name: '贵阳市', province: '贵州省' },
      { code: '520200', name: '六盘水市', province: '贵州省' },
      { code: '520300', name: '遵义市', province: '贵州省' },
      { code: '520400', name: '安顺市', province: '贵州省' },
      { code: '520500', name: '毕节市', province: '贵州省' },
      { code: '520600', name: '铜仁市', province: '贵州省' },
      { code: '522300', name: '黔西南布依族苗族自治州', province: '贵州省' },
      { code: '522600', name: '黔东南苗族侗族自治州', province: '贵州省' },
      { code: '522700', name: '黔南布依族苗族自治州', province: '贵州省' }
    ]
  },
  {
    name: '云南省',
    level: '1',
    code: '530000',
    children: [
      { code: '530100', name: '昆明市', province: '云南省' },
      { code: '530300', name: '曲靖市', province: '云南省' },
      { code: '530400', name: '玉溪市', province: '云南省' },
      { code: '530500', name: '保山市', province: '云南省' },
      { code: '530600', name: '昭通市', province: '云南省' },
      { code: '530700', name: '丽江市', province: '云南省' },
      { code: '530800', name: '普洱市', province: '云南省' },
      { code: '530900', name: '临沧市', province: '云南省' },
      { code: '532300', name: '楚雄彝族自治州', province: '云南省' },
      { code: '532500', name: '红河哈尼族彝族自治州', province: '云南省' },
      { code: '532600', name: '文山壮族苗族自治州', province: '云南省' },
      { code: '532800', name: '西双版纳傣族自治州', province: '云南省' },
      { code: '532900', name: '大理白族自治州', province: '云南省' },
      { code: '533100', name: '德宏傣族景颇族自治州', province: '云南省' },
      { code: '533300', name: '怒江傈僳族自治州', province: '云南省' },
      { code: '533400', name: '迪庆藏族自治州', province: '云南省' }
    ]
  },
  {
    name: '西藏自治区',
    level: '1',
    code: '540000',
    children: [
      { code: '540100', name: '拉萨市', province: '西藏自治区' },
      { code: '540200', name: '日喀则市', province: '西藏自治区' },
      { code: '540300', name: '昌都市', province: '西藏自治区' },
      { code: '540400', name: '林芝市', province: '西藏自治区' },
      { code: '540500', name: '山南市', province: '西藏自治区' },
      { code: '540600', name: '那曲市', province: '西藏自治区' },
      { code: '542500', name: '阿里地区', province: '西藏自治区' }
    ]
  },
  {
    name: '陕西省',
    level: '1',
    code: '610000',
    children: [
      { code: '610100', name: '西安市', province: '陕西省' },
      { code: '610200', name: '铜川市', province: '陕西省' },
      { code: '610300', name: '宝鸡市', province: '陕西省' },
      { code: '610400', name: '咸阳市', province: '陕西省' },
      { code: '610500', name: '渭南市', province: '陕西省' },
      { code: '610600', name: '延安市', province: '陕西省' },
      { code: '610700', name: '汉中市', province: '陕西省' },
      { code: '610800', name: '榆林市', province: '陕西省' },
      { code: '610900', name: '安康市', province: '陕西省' },
      { code: '611000', name: '商洛市', province: '陕西省' }
    ]
  },
  {
    name: '甘肃省',
    level: '1',
    code: '620000',
    children: [
      { code: '620100', name: '兰州市', province: '甘肃省' },
      { code: '620200', name: '嘉峪关市', province: '甘肃省' },
      { code: '620300', name: '金昌市', province: '甘肃省' },
      { code: '620400', name: '白银市', province: '甘肃省' },
      { code: '620500', name: '天水市', province: '甘肃省' },
      { code: '620600', name: '武威市', province: '甘肃省' },
      { code: '620700', name: '张掖市', province: '甘肃省' },
      { code: '620800', name: '平凉市', province: '甘肃省' },
      { code: '620900', name: '酒泉市', province: '甘肃省' },
      { code: '621000', name: '庆阳市', province: '甘肃省' },
      { code: '621100', name: '定西市', province: '甘肃省' },
      { code: '621200', name: '陇南市', province: '甘肃省' },
      { code: '622900', name: '临夏回族自治州', province: '甘肃省' },
      { code: '623000', name: '甘南藏族自治州', province: '甘肃省' }
    ]
  },
  {
    name: '青海省',
    level: '1',
    code: '630000',
    children: [
      { code: '630100', name: '西宁市', province: '青海省' },
      { code: '630200', name: '海东市', province: '青海省' },
      { code: '632200', name: '海北藏族自治州', province: '青海省' },
      { code: '632300', name: '黄南藏族自治州', province: '青海省' },
      { code: '632500', name: '海南藏族自治州', province: '青海省' },
      { code: '632600', name: '果洛藏族自治州', province: '青海省' },
      { code: '632700', name: '玉树藏族自治州', province: '青海省' },
      { code: '632800', name: '海西蒙古族藏族自治州', province: '青海省' }
    ]
  },
  {
    name: '宁夏回族自治区',
    level: '1',
    code: '640000',
    children: [
      { code: '640100', name: '银川市', province: '宁夏回族自治区' },
      { code: '640200', name: '石嘴山市', province: '宁夏回族自治区' },
      { code: '640300', name: '吴忠市', province: '宁夏回族自治区' },
      { code: '640400', name: '固原市', province: '宁夏回族自治区' },
      { code: '640500', name: '中卫市', province: '宁夏回族自治区' }
    ]
  },
  {
    name: '新疆维吾尔自治区',
    level: '1',
    code: '650000',
    children: [
      { code: '650100', name: '乌鲁木齐市', province: '新疆维吾尔自治区' },
      { code: '650200', name: '克拉玛依市', province: '新疆维吾尔自治区' },
      { code: '650400', name: '吐鲁番市', province: '新疆维吾尔自治区' },
      { code: '650500', name: '哈密市', province: '新疆维吾尔自治区' },
      { code: '652300', name: '昌吉回族自治州', province: '新疆维吾尔自治区' },
      {
        code: '652700',
        name: '博尔塔拉蒙古自治州',
        province: '新疆维吾尔自治区'
      },
      {
        code: '652800',
        name: '巴音郭楞蒙古自治州',
        province: '新疆维吾尔自治区'
      },
      { code: '652900', name: '阿克苏地区', province: '新疆维吾尔自治区' },
      {
        code: '653000',
        name: '克孜勒苏柯尔克孜自治州',
        province: '新疆维吾尔自治区'
      },
      { code: '653100', name: '喀什地区', province: '新疆维吾尔自治区' },
      { code: '653200', name: '和田地区', province: '新疆维吾尔自治区' },
      {
        code: '654000',
        name: '伊犁哈萨克自治州',
        province: '新疆维吾尔自治区'
      },
      { code: '654200', name: '塔城地区', province: '新疆维吾尔自治区' },
      { code: '654300', name: '阿勒泰地区', province: '新疆维吾尔自治区' },
      { code: '659001', name: '石河子市', province: '新疆维吾尔自治区' },
      { code: '659002', name: '阿拉尔市', province: '新疆维吾尔自治区' },
      { code: '659003', name: '图木舒克市', province: '新疆维吾尔自治区' },
      { code: '659004', name: '五家渠市', province: '新疆维吾尔自治区' },
      { code: '659005', name: '北屯市', province: '新疆维吾尔自治区' },
      { code: '659006', name: '铁门关市', province: '新疆维吾尔自治区' },
      { code: '659007', name: '双河市', province: '新疆维吾尔自治区' },
      { code: '659008', name: '可克达拉市', province: '新疆维吾尔自治区' },
      { code: '659009', name: '昆玉市', province: '新疆维吾尔自治区' },
      { code: '659010', name: '胡杨河市', province: '新疆维吾尔自治区' }
    ]
  },
  {
    name: '台湾省',
    level: '1',
    code: '710000',
    children: [{ name: '台湾省', level: '1', code: '7100' }]
  },
  {
    name: '香港特别行政区',
    level: '1',
    code: '810000',
    children: [{ name: '香港特别行政区', level: '1', code: '8100' }]
  },
  {
    name: '澳门特别行政区',
    level: '1',
    code: '820000',
    children: [{ name: '澳门特别行政区', level: '1', code: '8200' }]
  }
]

前端肥智
116 声望7 粉丝

前端工程师