vue-ip-input vue 2.0的ip输入工具演示用法用法安装npm install vue-ip-input --save CommonJS var VueIpInput = require('vue-ip-input'vue-ip-input vue的ip输入工具2.0演示演示用法安装npm install vue-ip-input --save CommonJS var VueIpInput = require('vue-ip-input');新的Vue({组件:{'vue-ip-input':VueIpInput},数据: function(){return {ip:'127.0.0.1'};},方法:{onIpChange:function(ip){console.log('ip input change:',ip);},onIpBlur:function(ip){ console.log('i
1