|
@@ -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){
|