import { deviceInfo } from '@kit.BasicServicesKit';
let sdkApiVersionInfo: number = deviceInfo.sdkApiVersion;//sdk版本
let displayVersionInfo: string = deviceInfo.displayVersion;//产品版本
let deviceTypeInfo: string = deviceInfo.deviceType;//设备类型 phone,tablet,2in1,tv,wearable,car