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
@@ -207,7 +207,7 @@ class CountMatchDraw extends BaseDrawService {
// 加载当前框使用的图片(只加载一次,用于计算高度和绘制)
let boxImage: any = null;
try {
const imagePath = `/mathPages/assets/${config.folder}/${boxImageIndex}.png`;
const imagePath = `/mathPages/shared/assets/${config.folder}/${boxImageIndex}.png`;
boxImage = await getImage(canvas, imagePath);
} catch (error) {
console.error(