写文章时 上传本地图片
This commit is contained in:
parent
718834510c
commit
b3c36e27cf
@ -47,6 +47,9 @@ export function upload(data) {
|
||||
return request({
|
||||
url: '/resource/oss/upload',
|
||||
method: 'post',
|
||||
data: data
|
||||
data: data,
|
||||
headers: {
|
||||
'Content-Type': 'multipart/form-data'
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -16,6 +16,7 @@
|
||||
| ul ol table hr
|
||||
| link image code | emoji"
|
||||
height="650px"
|
||||
:disabled-menus="[]"
|
||||
@upload-image="handleUploadImage"
|
||||
></v-md-editor>
|
||||
</el-form-item>
|
||||
|
Loading…
Reference in New Issue
Block a user