Explorar el Código

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

Dave hace 1 mes
padre
commit
26f3d99367
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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()