|
|
@@ -501,8 +501,7 @@ export async function renderImagesByPlans(plans, canvasList, skus) {
|
|
|
}
|
|
|
|
|
|
// 2) 处理文字占位(data-type = text)
|
|
|
- const textPlaceholders = objs.filter((o) => o && o['data-key'] && (o['data-type'] === 'text' || o['type'] === "textbox"))
|
|
|
- console.log('=====textPlaceholders========', textPlaceholders)
|
|
|
+ const textPlaceholders = objs.filter((o) => o && o['type'] === "textbox"))
|
|
|
|
|
|
// 字体加载工具函数(支持本地缓存)
|
|
|
const loadFont = async (_fontName, _fontUrl) => {
|