reactor:platform 的获取,从 getSystemInfoSync 迁移到 getAppBaseInfo
This commit is contained in:
@@ -20,7 +20,7 @@ import Pay from './pay';
|
||||
|
||||
const device = uni.getSystemInfoSync();
|
||||
|
||||
const os = device.platform;
|
||||
const os = uni.getDeviceInfo().platform;
|
||||
|
||||
let name = '';
|
||||
let provider = '';
|
||||
|
||||
Reference in New Issue
Block a user