|
@@ -171,7 +171,7 @@ const interfaceContext = (data) => {
|
|
fc.push(`\n`);
|
|
fc.push(`\n`);
|
|
const indexs = columns.filter((f) => f.index);
|
|
const indexs = columns.filter((f) => f.index);
|
|
const props = indexs.map((i) => `'${i.title}'`).join(', ');
|
|
const props = indexs.map((i) => `'${i.title}'`).join(', ');
|
|
- fc.push(`export classQDTO extends SearchBase {`);
|
|
|
|
|
|
+ fc.push(`export class QDTO extends SearchBase {`);
|
|
fc.push(` constructor() {`);
|
|
fc.push(` constructor() {`);
|
|
fc.push(` const like_prop = [];`);
|
|
fc.push(` const like_prop = [];`);
|
|
fc.push(` const props = [${props}];`);
|
|
fc.push(` const props = [${props}];`);
|