lrf vor 2 Jahren
Ursprung
Commit
0fdd847ce8
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 = '';