lrf il y a 2 ans
Parent
commit
d6427b9692
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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);