소스 검색

ts template

lrf 2 년 전
부모
커밋
0fdd847ce8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 = '';