diff --git a/src/assets/js/useAliYunUpload.js b/src/assets/js/useAliYunUpload.js index de2991f..345a44d 100644 --- a/src/assets/js/useAliYunUpload.js +++ b/src/assets/js/useAliYunUpload.js @@ -33,9 +33,9 @@ export default function useAliYunUpload({ Title: uploadInfo.file.name, FileName: uploadInfo.file.name, }); - uploadAddress = resData.body.uploadAddress; - uploadAuth = resData.body.uploadAuth; - videoId = resData.body.videoId; + uploadAddress = resData.data.uploadAddress; + uploadAuth = resData.data.uploadAuth; + videoId = resData.data.videoId; } else { const resData = await setVideoRefresh({ Title: uploadInfo.file.name,