最佳答案
我知道我可以用 Platform.isAndroid
,Platform.isIOS
等等来检测操作系统,但是没有像 Platform.isWeb
这样的东西,所以我怎样才能检测到它呢?