|
@@ -1595,7 +1595,7 @@ const getImgList = async (meta2dData) => {
|
|
|
}
|
|
|
}
|
|
|
//图片图元(image strokeImage backgroundImage)
|
|
|
- const imageKeys = ['image', 'strokeImage', 'backgroundImage'];
|
|
|
+ const imageKeys = ['image', 'strokeImage', 'backgroundImage','activeBgImage','bgImage'];
|
|
|
const images: string[] = [];
|
|
|
for (const pen of meta2dData.pens) {
|
|
|
for (const i of imageKeys) {
|
|
@@ -1607,7 +1607,7 @@ const getImgList = async (meta2dData) => {
|
|
|
image.startsWith(img_upCdn)
|
|
|
) {
|
|
|
// 只考虑相对路径下的 image ,绝对路径图片无需下载
|
|
|
- let _img = image.replace(img_cdn, '').replace(img_upCdn, '');
|
|
|
+ let _img = image.replace(img_cdn, '').replace(img_upCdn, '').split('?')[0];
|
|
|
if (_img.startsWith('/v/')) {
|
|
|
_img = _img.slice(2);
|
|
|
}
|
|
@@ -1636,7 +1636,7 @@ const getImgList = async (meta2dData) => {
|
|
|
image.startsWith(img_upCdn)
|
|
|
) {
|
|
|
// 只考虑相对路径下的 image ,绝对路径图片无需下载
|
|
|
- let _img = image.replace(img_cdn, '').replace(img_upCdn, '');
|
|
|
+ let _img = image.replace(img_cdn, '').replace(img_upCdn, '').split('?')[0];
|
|
|
if (_img.startsWith('/v/')) {
|
|
|
_img = _img.slice(2);
|
|
|
}
|
|
@@ -1668,7 +1668,7 @@ const getImgList = async (meta2dData) => {
|
|
|
image.startsWith(img_upCdn)
|
|
|
) {
|
|
|
// 只考虑相对路径下的 image ,绝对路径图片无需下载
|
|
|
- let _img = image.replace(img_cdn, '').replace(img_upCdn, '');
|
|
|
+ let _img = image.replace(img_cdn, '').replace(img_upCdn, '').split('?')[0];
|
|
|
if (_img.startsWith('/v/')) {
|
|
|
_img = _img.slice(2);
|
|
|
}
|