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