完成图片上传;

This commit is contained in:
2022-03-04 19:37:59 +08:00
parent f3439ad45b
commit 2806c7c204
3 changed files with 255 additions and 161 deletions

View File

@@ -146,7 +146,11 @@
editorConfig.placeholder = '请输入内容'
editorConfig.scroll = false // 禁止编辑器滚动
editorConfig.MENU_CONF['uploadImage'] = {
server: '{:url("File/wangEditorSave")}',
fieldName: 'file',
meta: {
type: 'editor'
}
}
editorConfig.onChange = (editor) => {
console.log('content', editor)