reactor:platform 的获取,从 getSystemInfoSync 迁移到 getAppBaseInfo
This commit is contained in:
@@ -82,10 +82,9 @@
|
||||
|
||||
<script>
|
||||
import sheep from '@/sheep';
|
||||
const { safeAreaInsets } = sheep.$platform.device;
|
||||
let platform = 'other';
|
||||
// #ifdef APP-NVUE
|
||||
platform = uni.getSystemInfoSync().platform;
|
||||
platform = uni.getDeviceInfo().platform;
|
||||
// #endif
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user