- 修复了文本占位符过滤条件中的语法错误 - 移除了多余的右括号,确保过滤器正确执行
@@ -501,7 +501,7 @@ export async function renderImagesByPlans(plans, canvasList, skus) {
}
// 2) 处理文字占位(data-type = text)
- const textPlaceholders = objs.filter((o) => o && o['type'] === "textbox"))
+ const textPlaceholders = objs.filter((o) => o && o['type'] === "textbox")
// 字体加载工具函数(支持本地缓存)
const loadFont = async (_fontName, _fontUrl) => {