Commit 3ddef4a8 by linjinhong

fix:修改素材没有出现的问题

parent 42a7e560
......@@ -779,7 +779,7 @@ export default {
console.log("files.title", files[i]);
const title = files[i].title;
const matchKey = keyMap[title] || title;
const templateSize = size[matchKey];
const templateSize = size?.[matchKey];
if (size && !isCut) {
//带黄点模判断是否是cp类,cp类按照newMmToPxFn方法重新计算宽高
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment