groupPlatformPresetsByPlatform
groupPlatformPresetsByPlatform(
presets?):Map<string,PlatformSizePreset[]>
Defined in: packages/capability/src/presets/platform.ts:69
按平台名分组返回预设(供“先选平台,再选尺寸”的两级选择器使用)。
Parameters
Section titled “Parameters”presets?
Section titled “presets?”PlatformSizePreset[] = PLATFORM_PRESETS
Returns
Section titled “Returns”Map<string, PlatformSizePreset[]>