|
|
@ -8,7 +8,7 @@ const commentsWrapperEl = ref<HTMLDivElement>() |
|
|
|
|
|
|
|
|
|
|
|
await loadCommentsAndLogs() |
|
|
|
await loadCommentsAndLogs() |
|
|
|
|
|
|
|
|
|
|
|
const showborder = ref(false) |
|
|
|
const showBorder = ref(false) |
|
|
|
|
|
|
|
|
|
|
|
watch( |
|
|
|
watch( |
|
|
|
commentsAndLogs, |
|
|
|
commentsAndLogs, |
|
|
@ -72,9 +72,9 @@ watch( |
|
|
|
v-model:value="comment" |
|
|
|
v-model:value="comment" |
|
|
|
class="!text-xs nc-comment-box" |
|
|
|
class="!text-xs nc-comment-box" |
|
|
|
ghost |
|
|
|
ghost |
|
|
|
:class="{ focus: showborder }" |
|
|
|
:class="{ focus: showBorder }" |
|
|
|
@focusin="showborder = true" |
|
|
|
@focusin="showBorder = true" |
|
|
|
@focusout="showborder = false" |
|
|
|
@focusout="showBorder = false" |
|
|
|
@keyup.enter.prevent="saveComment" |
|
|
|
@keyup.enter.prevent="saveComment" |
|
|
|
> |
|
|
|
> |
|
|
|
<template #addonBefore> |
|
|
|
<template #addonBefore> |
|
|
|