瀏覽代碼

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()