Explorar o código

Merge branch 'ETA_1.1.8'

hbchen hai 1 ano
pai
achega
9183930f0b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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){