|
@@ -71,7 +71,7 @@ export const useGlobalStore = defineStore(() => {
|
|
|
|
|
|
|
|
// 获取APP权限状态
|
|
// 获取APP权限状态
|
|
|
const getAndroidPermissions = <K extends keyof typeof androidPermissions.value>(key: K) => {
|
|
const getAndroidPermissions = <K extends keyof typeof androidPermissions.value>(key: K) => {
|
|
|
- if (plus.hasPlus()) {
|
|
|
|
|
|
|
+ if (plus.hasPlus() && plus.getSystemInfo('os') === 'Android') {
|
|
|
return androidPermissions.value[key]
|
|
return androidPermissions.value[key]
|
|
|
}
|
|
}
|
|
|
return 1
|
|
return 1
|