From 8ca021df6ab89bdb4e2d35c74546911e8c869c23 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Sat, 20 Apr 2024 16:04:22 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E8=81=8A=E5=A4=A9=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E6=A1=86=E7=B2=98=E8=B4=B4=E6=A0=BC=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../assets/js/pages/manage/components/ChatInput/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/assets/js/pages/manage/components/ChatInput/index.vue b/resources/assets/js/pages/manage/components/ChatInput/index.vue index 83cef8379..c9cf8b33e 100755 --- a/resources/assets/js/pages/manage/components/ChatInput/index.vue +++ b/resources/assets/js/pages/manage/components/ChatInput/index.vue @@ -163,7 +163,7 @@
- {{$L('正常发送')}} + {{$L('普通格式发送')}}
@@ -273,7 +273,7 @@ export default { toolbar: { type: Array, default: () => { - return ['bold', 'strike', 'italic', 'underline', {'list': 'ordered'}, {'list': 'bullet'}, 'blockquote', 'code-block'] + return ['bold', 'strike', 'italic', 'underline', 'blockquote', {'list': 'ordered'}, {'list': 'bullet'}] }, }, maxlength: { @@ -637,6 +637,7 @@ export default { // Options this._options = Object.assign({ theme: 'bubble', + formats: ['bold', 'strike', 'italic', 'underline', 'blockquote', 'list', 'link', 'image'], readOnly: false, placeholder: this.placeholder, modules: {