lrf há 2 anos atrás
pai
commit
d6427b9692
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      app/public/ts-template.js

+ 2 - 1
app/public/ts-template.js

@@ -175,7 +175,8 @@ const interfaceContext = (data) => {
   fc.push(`  constructor() {`);
   fc.push(`    const like_prop = [];`);
   fc.push(`    const props = [${props}];`);
-  fc.push(`    super({ like_prop });`);
+  fc.push(`    const mapping = [];`);
+  fc.push(`    super({ like_prop, props, mapping });`);
   fc.push(`  }`);
   for (const col of indexs) {
     const cfc = getInterfaceColumn(col);