瀏覽代碼

小问题

hbchen 1 年之前
父節點
當前提交
bd6b79fc21
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/views/ppt_manage/newVersion/pptEnPublish.vue
  2. 1 1
      src/views/ppt_manage/newVersion/pptPublish.vue

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

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

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

@@ -548,7 +548,7 @@ export default {
                         this.$store.state.dynamicOutLinks.ObjectStorageClient ||
                         this.$store.state.dynamicOutLinks.ObjectStorageClient ||
                         JSON.parse(localStorage.getItem('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);
           console.log('文件地址',url);
           this.publishPPT(url)
           this.publishPPT(url)
         }).catch(err=>{
         }).catch(err=>{