瀏覽代碼

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 = '';