Explorar el Código

f附件地址修改

duy hace 2 años
padre
commit
02a4806b30
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/views/tentative/material/approach.vue

+ 2 - 1
src/views/tentative/material/approach.vue

@@ -684,7 +684,8 @@ const tabTypeChange = (item) => {
 }
 //截取文件名称
 const splitFileName=(str)=>{
-    if(str.indexOf("https://bladex-test-info.oss-cn-chengdu.aliyuncs.com//upload") != -1){
+    // if(str.indexOf("https://bladex-test-info.oss-cn-chengdu.aliyuncs.com//upload") != -1){
+    if(str.indexOf("https://bladex-chongqing-info.oss-cn-hangzhou.aliyuncs.com//upload") != -1){
         let a=str.split('//')[2].split('/')[2]
         return a
     }else{