diff --git a/src/views/parnerOperation/editor.js b/src/views/parnerOperation/editor.js index e9b3c73..513c13e 100644 --- a/src/views/parnerOperation/editor.js +++ b/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 => {}) } //触发点击