feat:修改图片路径

This commit is contained in:
R524809
2025-12-22 11:25:22 +08:00
parent c7d55e1e2d
commit e23da39bdf
60 changed files with 7 additions and 7 deletions
@@ -487,7 +487,7 @@ class NumberDecomposeDraw extends BaseDrawService {
// 加载图片
let boxImage: any = null;
try {
const imagePath = `/mathPages/assets/${config.folder}/${imageIndex}.png`;
const imagePath = `/mathPages/shared/assets/${config.folder}/${imageIndex}.png`;
boxImage = await getImage(canvas, imagePath);
} catch (error) {
console.error(`加载${config.folder}/${imageIndex}图片失败:`, error);