浏览代码

Merge branch 'ETA_1.1.8'

hbchen 1 年之前
父节点
当前提交
9183930f0b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/utils/common.js

+ 1 - 1
src/utils/common.js

@@ -64,7 +64,7 @@ export function getUrlParams(str=window.location.href,key) {
 
 // 上传文件 直接走对象存取服务器
 export function uploadFileDirect(objectStorageClient,file,temName,options={}){
-  const objectStorageType= (objectStorageClient || JSON.parse(localStorage.getItem('dynamicOutLinks')).ObjectStorageClient)
+  const objectStorageType= (objectStorageClient || JSON.parse(localStorage.getItem('dynamicOutLinks')).ObjectStorageClient || 'oss')
   // console.log(objectStorageType,'objectStorageType');
   // return 
   if(!objectStorageType){