Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7564c43f
authored
Apr 14, 2023
by
puhui999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改editor为editor_一点小问题
parent
02d98f2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
src/views/mp/components/wx-editor/WxEditor.vue
+9
-9
No files found.
src/views/mp/components/wx-editor/WxEditor.vue
View file @
7564c43f
<
script
name=
"WxEditor"
setup
>
import
{
re
f
,
reactive
}
from
'vue'
import
{
re
active
,
ref
}
from
'vue'
import
{
getAccessToken
}
from
'@/utils/auth'
import
{
Editor
}
from
'@/components/Editor'
...
...
@@ -83,21 +83,21 @@ const uploadError = () => {
<div
v-loading=
"loading"
element-loading-text=
"请稍等,图片上传中"
>
<!-- 图片上传组件辅助-->
<el-upload
class=
"avatar-uploader"
name=
"file"
:action=
"actionUrl"
:headers=
"headers"
:show-file-list=
"false"
:before-upload=
"beforeUpload"
:data=
"uploadData"
:
on-success=
"uploadSucces
s"
:
headers=
"header
s"
:on-error=
"uploadError"
:before-upload=
"beforeUpload"
:on-success=
"uploadSuccess"
:show-file-list=
"false"
class=
"avatar-uploader"
name=
"file"
/>
<Editor
editor-id=
"wxEditor"
ref=
"quillEditorRef"
:modelValue=
"content"
@
change=
"(editor) => onEditorChange(editor.getText())"
editor-id=
"wxEditor"
@
change=
"(editor_) => onEditorChange(editor_.getText())"
/>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment