Skip to content

Commit 7564c43

Browse files
author
puhui999
committed
改editor为editor_一点小问题
1 parent 02d98f2 commit 7564c43

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/views/mp/components/wx-editor/WxEditor.vue

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script name="WxEditor" setup>
2-
import { ref, reactive } from 'vue'
2+
import { reactive, ref } from 'vue'
33
import { getAccessToken } from '@/utils/auth'
44
import { Editor } from '@/components/Editor'
55
@@ -83,21 +83,21 @@ const uploadError = () => {
8383
<div v-loading="loading" element-loading-text="请稍等,图片上传中">
8484
<!-- 图片上传组件辅助-->
8585
<el-upload
86-
class="avatar-uploader"
87-
name="file"
8886
:action="actionUrl"
89-
:headers="headers"
90-
:show-file-list="false"
87+
:before-upload="beforeUpload"
9188
:data="uploadData"
92-
:on-success="uploadSuccess"
89+
:headers="headers"
9390
:on-error="uploadError"
94-
:before-upload="beforeUpload"
91+
:on-success="uploadSuccess"
92+
:show-file-list="false"
93+
class="avatar-uploader"
94+
name="file"
9595
/>
9696
<Editor
97-
editor-id="wxEditor"
9897
ref="quillEditorRef"
9998
:modelValue="content"
100-
@change="(editor) => onEditorChange(editor.getText())"
99+
editor-id="wxEditor"
100+
@change="(editor_) => onEditorChange(editor_.getText())"
101101
/>
102102
</div>
103103
</div>

0 commit comments

Comments
 (0)