画布调整

This commit is contained in:
lzp
2026-03-04 15:46:44 +08:00
parent eb67982228
commit 7ae7f5406a
3 changed files with 26 additions and 9 deletions

View File

@@ -11,7 +11,7 @@
tabindex="0"
class="input"
ref="inputRef"
contenteditable="true"
:contenteditable="edit"
@input="onInput"
@blur="onBlur"
@paste.prevent
@@ -66,6 +66,7 @@
<style lang="less" scoped>
.text {
user-select: none;
&.edit {
> .input {
cursor: text;