Optimize some code

This commit is contained in:
An Phan 2016-03-16 11:52:26 +08:00
parent f6d0db1b4f
commit a691825fdb

View file

@ -8,7 +8,5 @@ export default function (value) {
return;
}
let el = this.el;
Vue.nextTick(() => el.focus());
Vue.nextTick(() => this.el.focus());
};