hbchen 1 gadu atpakaļ
vecāks
revīzija
bd6b79fc21

+ 1 - 1
src/views/ppt_manage/newVersion/pptEnPublish.vue

@@ -461,7 +461,7 @@ export default {
                         this.$store.state.dynamicOutLinks.ObjectStorageClient ||
                         JSON.parse(localStorage.getItem('dynamicOutLinks')).ObjectStorageClient
         // 上传到 对象存储器 阿里云、mino
-        uploadFileDirect(clientType,data,temName,options).then(res=>{
+        uploadFileDirect(clientType,data,temName,options).then(url=>{
           console.log('文件地址',url);
           this.publishPPT(url)
         }).catch(err=>{

+ 1 - 1
src/views/ppt_manage/newVersion/pptPublish.vue

@@ -548,7 +548,7 @@ export default {
                         this.$store.state.dynamicOutLinks.ObjectStorageClient ||
                         JSON.parse(localStorage.getItem('dynamicOutLinks')).ObjectStorageClient
         // 上传到 对象存储器
-        uploadFileDirect(clientType,data,temName,options).then(res=>{
+        uploadFileDirect(clientType,data,temName,options).then(url=>{
           console.log('文件地址',url);
           this.publishPPT(url)
         }).catch(err=>{