Add coma for the end component
This commit is contained in:
@@ -139,7 +139,7 @@ function getLayoutCode(
|
|||||||
);
|
);
|
||||||
lines.push(indent + `}]${isRoot ? ';' : ','}`);
|
lines.push(indent + `}]${isRoot ? ';' : ','}`);
|
||||||
} else {
|
} else {
|
||||||
lines[lines.length - 1] += ']';
|
lines[lines.length - 1] += '],';
|
||||||
CKFlexboxComponentChild.forEach(key => {
|
CKFlexboxComponentChild.forEach(key => {
|
||||||
let line = renderKey(node, key, indent);
|
let line = renderKey(node, key, indent);
|
||||||
if (line) {
|
if (line) {
|
||||||
|
Reference in New Issue
Block a user