forked from FoundKeyGang/FoundKey
fix API console
This commit is contained in:
parent
7257338077
commit
fed41d8d15
1 changed files with 2 additions and 0 deletions
|
@ -67,6 +67,8 @@ const { modelValue } = toRefs(props);
|
||||||
// modelValue is read only, so a separate ref is needed.
|
// modelValue is read only, so a separate ref is needed.
|
||||||
const v = $ref(modelValue.value);
|
const v = $ref(modelValue.value);
|
||||||
|
|
||||||
|
watch(modelValue, () => v = modelValue.value);
|
||||||
|
|
||||||
let focused = $ref(false);
|
let focused = $ref(false);
|
||||||
let changed = $ref(false);
|
let changed = $ref(false);
|
||||||
let inputEl: HTMLTextAreaElement | null = $ref(null);
|
let inputEl: HTMLTextAreaElement | null = $ref(null);
|
||||||
|
|
Loading…
Reference in a new issue