Git Product home page Git Product logo

Comments (3)

tshi0912 avatar tshi0912 commented on June 2, 2024
        这个也是没办法,直辖市下面直接就是区县,没有地市,但是又不能破坏结构,也只能这么处理。发自网易邮箱大师
        在2016年07月11日 10:54,moahmn 写道:

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

from city-picker.

khan-lau avatar khan-lau commented on June 2, 2024

json树状结构不是更适合描述这种层级关系么.

from city-picker.

tshi0912 avatar tshi0912 commented on June 2, 2024

这个和树状结构没有太大关系,主要是由于省份 / 城市 /区县 这样个固定三层关系决定的,北京市/东城区这样的数据没法在三层关系的里面直接落地,所以只能折衷取值为北京市/北京市/东城区。

from city-picker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.