소스 검색

fix(menu): update parentId example to a string format

Dave 1 개월 전
부모
커밋
26f3d99367
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apps/box-mgnt-api/src/mgnt-backend/core/menu/menu.dto.ts

+ 1 - 1
apps/box-mgnt-api/src/mgnt-backend/core/menu/menu.dto.ts

@@ -17,7 +17,7 @@ import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
 export class MenuDto {
   @ApiPropertyOptional({
     description: '父菜单 ID,若为顶级菜单则为空',
-    example: 0,
+    example: 'xxxxx',
   })
   @IsString()
   @IsOptional()