Vue-area-linkage Vue City Three level list linkage plug-in use

Source: Internet
Author: User

Official presentation Address

//v5 and later versions of data depend on Area_dataNPM I--save vue-area-linkage area-data import Vue from' Vue '; Import {PCA, PCAA} from' Area-data ';//v5 or higherImport ' Vue-area-linkage/dist/index.css ';//v2 or higherImport vuearealinkage from ' Vue-area-linkage '; Vue.use (vuearealinkage)//Use        //v5 and later versions<area-select v-model= "selected":d ata= "PCA" ></area-select>//Provinces<area-select v-model= "selected":d ata= "PCAA" ></area-select>//Province City:<area-cascader v-model= "Selected2":d ata= "PCA" ></area-cascader>//Provinces<area-cascader v-model= "Selected2":d ata= "PCAA" ></area-cascader>//Province City://setting<area-select type= ' all ': level= ' 2 ' v-model= "selected":d ata= "PCAA" ></area-select> <area-cascader Typ E= ' All ' v-model= "selected2": level= ' 1 ':d ata= "PCAA" ></area-cascader>

The following personal Information page uses the level three list demo

Document Address

Vue-area-linkage Vue City Three level list linkage plug-in use

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.