修复日记长文输入布局并减少输入时正文回传

This commit is contained in:
2026-10-11 09:22:29 +08:00
parent 5365e13963
commit 1bafb01741
7 changed files with 25 additions and 8 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
<label>内容</label>
<text class="char-count {{contentLength > 5000 ? 'char-warn' : ''}}">{{contentLength}}/5000</text>
</view>
<textarea placeholder-class="handwritten-placeholder" class="input textarea diary-editor" placeholder="想写些什么..." value="{{editorContent}}" bindinput="onContentInput" maxlength="{{5000}}" auto-height="{{false}}" cursor-spacing="24" />
<textarea placeholder-class="handwritten-placeholder" class="input textarea diary-editor" placeholder="想写些什么..." value="{{editorContent}}" bindinput="onContentInput" maxlength="5000" auto-height="{{true}}" cursor-spacing="24" />
</view>
<!-- 图片(可删除) -->