富文本视频上传

dev_202304
yujialong 2 years ago
parent a95d3f55ca
commit 057f5bfa73
  1. 4
      src/views/parnerOperation/editor.js

@ -349,14 +349,14 @@ export default {
fd.append("file", file);
Axios({
method: 'post',
url: Api.fileupload,
url: Api.fileUploadNakadai,
data: fd,
headers: {
'Content-Type': 'multipart/form-data',
token: Util.local.get(Setting.tokenKey)
},
}).then(({ data }) => {
callback(data.data.filesResult.fileId)
callback(data.filesResult.fileUrl)
}).catch(res => {})
}
//触发点击

Loading…
Cancel
Save