1.2.2 • Published 6 years ago
用法:
<template>
<myarea @select="haha" pindex="1"><myarea>
</template>
<script>
methods:{
haha:function(d){
console.log(d);
}
}
</script>
说明:
- 默认的省市区对应的属性:pindex,cindex,ccindex,对应的是选择后 pro,city,county 中的 index 的值
- 如果后端需要对应的数据的话,可以使用 这个文件
demo 请下载后运行:网址
更新说明:
demo 是之前的版本,数据也不是当前版本的。