lrf преди 2 години
родител
ревизия
d6427b9692
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  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);