Commit d222ef4b authored by ‘yangmengxue’'s avatar ‘yangmengxue’

11

parent d22bfde2
...@@ -716,11 +716,10 @@ export default { ...@@ -716,11 +716,10 @@ export default {
}) })
.then(() => { .then(() => {
let getfile = file.url; let getfile = file.url;
console.log(file);
// console.log(savefile.match(/^(?:[^\/]|\/\/)*/),'222222');//获取域名 // console.log(savefile.match(/^(?:[^\/]|\/\/)*/),'222222');//获取域名
let str = getfile.split( let str = getfile.split(
"https://yingdi-bank-info-1320656968.cos.ap-beijing.myqcloud.com/" "https://yingdi-bank-info-1320656968.cos.ap-beijing.myqcloud.com/"
); //https://yingdi-bank-info-1320656968.cos.ap-beijing.myqcloud.com/进行分割, );
let savefile = str[1].split("?")[0]; let savefile = str[1].split("?")[0];
delPayingPic({ object: savefile }).then((res) => { delPayingPic({ object: savefile }).then((res) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment