address-element-vues
Version:
基于elementUi的vue 省市区三级联动组件 ,返回省市id与名称,可以清除所有,可以搜索
14 lines (13 loc) • 333 B
JavaScript
import Vue from 'vue'
import {Cascader} from 'element-ui'
Vue.use(Cascader)
import Address from './components/Address'
let comment={};
comment.install=function (Vue) {
Vue.component(Address.name,Address)
}
if (typeof window !== 'undefined' && window.Vue) {
window.Vue.use(comment)
}
export default comment
export { Address }