Commit 4c7d3c99 by wusiyi

fix: pod快捷生产图片url优化

parent c60d7f41
...@@ -611,7 +611,7 @@ const trackcodeInput = async () => { ...@@ -611,7 +611,7 @@ const trackcodeInput = async () => {
arr = arr.concat([ arr = arr.concat([
{ url: d.negativeImage, title: '反面', id: d.negativeDesignId }, { url: d.negativeImage, title: '反面', id: d.negativeDesignId },
]) ])
arr.forEach((item) => { arr.forEach((item: { url: string; id: string; title: string }) => {
if (item.url && item.url.startsWith('/')) { if (item.url && item.url.startsWith('/')) {
item.url = 'https://img.jomalls.com/upload/erp' + item.url item.url = 'https://img.jomalls.com/upload/erp' + item.url
} }
......
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