|
@@ -746,9 +746,10 @@ 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) {
|
|
|
|
|
|
+ if (str.indexOf('https://bladex-chongqing-info.oss-cn-hangzhou.aliyuncs.com//upload') !== -1 || str.indexOf('http://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 {
|