fix: generateCode

This commit is contained in:
2026-03-13 17:34:00 +08:00
parent b3dc768786
commit 4b08a738a7
2 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ customElement<DeckProps>('md-deck', {
const resolvedSrc = resolvePath(articlePath, csvPath);
// 创建 store 并加载数据
const store = createDeckStore(resolvedSrc, (props.layers as string) || '');
const store = createDeckStore(resolvedSrc);
// 解析 size 属性(支持旧格式 "54x86" 和新格式)
if (props.size && props.size.includes('x')) {