Browse Source

ts template

lrf 2 năm trước cách đây
mục cha
commit
0fdd847ce8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 = '';