vue.js focus net directive
Vue.directive('focusNext', {bind: function () {this.handler = function () {if (this.el.value.length >= this.expression) {var next = this.el.nextSibling;next.focus();}}.bind(this)this.el.ad
业界
2016年05月09日