API > @angular/coremode_edit codegetPlatformlinkfunction返回当前平台。Returns the current platform. getPlatform(): PlatformRef | null 参数没有参数。返回值PlatformRef | null