parent
d49f8ec013
commit
42840236b0
1 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ export default {
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
newValue: null,
|
newValue: {} as GPSPoint,
|
||||||
editDescription: false,
|
editDescription: false,
|
||||||
popup: null as Overlay | null,
|
popup: null as Overlay | null,
|
||||||
}
|
}
|
||||||
|
@ -162,7 +162,7 @@ export default {
|
||||||
editDescription(edit: boolean) {
|
editDescription(edit: boolean) {
|
||||||
if (edit) {
|
if (edit) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.description?.focus()
|
(this.$refs.description as HTMLTextAreaElement).focus()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue