feat: #23
This commit is contained in:
@@ -178,8 +178,9 @@
|
|||||||
setEditable () {
|
setEditable () {
|
||||||
this.editable = true
|
this.editable = true
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.nodeInput.focus()
|
const $input = this.$refs.nodeInput
|
||||||
// fireFocusEvent(this.$refs.nodeInput)
|
$input.focus()
|
||||||
|
$input.setSelectionRange(0, $input.value.length)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user