-
安装:
npm i vue-myarea
-
使用:
<template>
<myarea @select="haha"><myarea>
</template >
<script>
methods:{ haha:function(d){ console.log(d); } }
</script>
-
数据(data.js) 换了一个版本的,应该比之前的要新一些
52ninetwo / vue-myarea Goto Github PK
View Code? Open in Web Editor NEWThis project forked from tansuo1989/vue-component
三级下拉式地区选择器,vue组件
Home Page: https://tansuo1989.github.io/demo/myarea.html