lrf %!s(int64=2) %!d(string=hai) anos
pai
achega
0fdd847ce8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/public/ts-template.js

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

@@ -133,7 +133,7 @@ const getInterfaceColumn = (col, needReq = false) => {
   const fc = [];
   const { type, zh, title, required } = col;
   const modelType = getModelType(type, true);
-  fc.push(`  @ApiProperty({ description: '${title}' })`);
+  fc.push(`  @ApiProperty({ description: '${zh}' })`);
   if (needReq) {
     let ruleStr = '';
     let rt = '';