This component contains Chinese area data, including Taiwan、Hongkong、Macao.
# make sure has installed element-ui
yarn add element-ui
# and has globally registered el-select el-option
# install
yarn add @femessage/el-select-area
<template>
<el-select-area v-model="area" />
</template>
<script>
import ElSelectArea from '@femessage/el-select-area'
export default {
components: {
ElSelectArea
},
data() {
return {
area: []
}
}
}
</script>
The area data comes from vant-ui