diff --git a/index.js b/index.js index 4b1fe2c..4bc9d40 100644 --- a/index.js +++ b/index.js @@ -229,7 +229,7 @@ module.exports = { } if (data?._state==='SUCCESS' && data?.path) { - return { _state: 'SUCCESS', fileUrl: this.makeServerUrl(data.path), ...data } + return { _state: 'SUCCESS', fileUrl: this.makeServerUrl(data.path), filePath: data.path, ...data } }else { return { _state: 'CLIENT_FAIL_UPLOAD_FILE', errorUpload } }