Browse Source

f附件地址修改

duy 2 years ago
parent
commit
02a4806b30
1 changed files with 2 additions and 1 deletions
  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)=>{
 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]
         let a=str.split('//')[2].split('/')[2]
         return a
         return a
     }else{
     }else{