lrf 2 tahun lalu
induk
melakukan
d6427b9692
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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);