张延森 5 년 전
부모
커밋
c4485f8143
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/utils/tools.js

+ 1
- 1
src/utils/tools.js 파일 보기

@@ -160,7 +160,7 @@ export function getDownloadURL(url, type) {
160 160
     case 'avatar':
161 161
       return url.replace('https://wx.qlogo.cn/', `${HOST}/qlogo/`);
162 162
     case 'alioss':
163
-      return url.replace('https://estateagents.oss-cn-shanghai.aliyuncs.com/', `${HOST}/alioss/`);
163
+      return url.replace('https://estateagents.oss-cn-shanghai.aliyuncs.com/', `${HOST}/alioss/`).replace('https://estateagents.oss-accelerate.aliyuncs.com/', `${HOST}/alioss/`);
164 164
     default:
165 165
       return url;
166 166
   }