tags docs improve

pull/2674/head
baiyaaaaa 2017-02-04 17:49:49 +08:00 committed by cinwell.li
parent a489434768
commit ecda9bdd07
2 changed files with 12 additions and 0 deletions

View File

@ -22,6 +22,9 @@
showInput() {
this.inputVisible = true;
this.$nextTick(_ => {
this.$refs.saveTagInput.$refs.input.focus();
});
},
handleInputConfirm() {
@ -149,6 +152,9 @@ You can use the `close` event to add and remove tag dynamically.
showInput() {
this.inputVisible = true;
this.$nextTick(_ => {
this.$refs.saveTagInput.$refs.input.focus();
});
},
handleInputConfirm() {

View File

@ -22,6 +22,9 @@
showInput() {
this.inputVisible = true;
this.$nextTick(_ => {
this.$refs.saveTagInput.$refs.input.focus();
});
},
handleInputConfirm() {
@ -149,6 +152,9 @@
showInput() {
this.inputVisible = true;
this.$nextTick(_ => {
this.$refs.saveTagInput.$refs.input.focus();
});
},
handleInputConfirm() {