Skip to content

FEMessage/el-select-area

Repository files navigation

el-select-area

NPM Download NPM Version NPM License PRs Welcome

introduce

中文文档

Table of Contents

Introduction

This component contains Chinese area data, including Taiwan、Hongkong、Macao.

⬆ Back to Top

Demo

⬆ Back to Top

Install

# 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>

⬆ Back to Top

DataSource

The area data comes from vant-ui

⬆ Back to Top

Example

level

res

⬆ Back to Top

License

MIT

⬆ Back to Top