2024-07-11
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
npm install element-china-area-data -S
import { provinceAndCityData, pcTextArr, regionData, pcaTextArr, codeToText, } from "element-china-area-data";
provinceAndCityData
Provincial and municipal secondary linkage data, Chinese coderegionData
Provincial, municipal and district three-level linkage datapcTextArr
Provincial and municipal linkage data, pure Chinese characterspcaTextArr
Provincial, municipal and district linkage data, pure Chinese characterscodeToText
It is a large object, the attribute is the area code, and the attribute value is the Chinese character usage, for example:codeToText['110000']
Output北京市
Provincial and municipal secondary linkage: