图片管理小修改

This commit is contained in:
夕阳微笑1 2024-12-26 19:13:09 +08:00
parent 4b04a694e3
commit 58a0257c30

View File

@ -330,7 +330,7 @@ const jpgFormatter = (row: any) => {
} }
newPath = newPath.includes('http://8.138.171.103/')||newPath.includes('http://guojunjie.oss-cn-hangzhou.aliyuncs.com/') ? newPath = newPath.includes('http://8.138.171.103/')||newPath.includes('http://guojunjie.oss-cn-hangzhou.aliyuncs.com/') ?
newPath : encodeURI(viteUrl + newPath) newPath : encodeURI(viteUrl + newPath)
console.log(newPath); // console.log(newPath);
return `${newPath}`; return `${newPath}`;
} }