Skip to content

getPlatformUni ​

获取 uni-app 运行平台信息

示例 ​

ts
import { getPlatformUni } from '@base-web-kits/base-tools-uni';

const platform = getPlatformUni();
console.log('platform:', platform);

版本 ​

  • 1.0.0 新增