feat:修改图片路径
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user