uni-auth 1.0.7 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uni-auth",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "main": "src/index.js",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -10,8 +10,8 @@ export const contentEnum = {
10
10
  相机: `允许${appName}访问您的相册/相机,您可以上传/拍摄照片及视频`,
11
11
  麦克风: `允许${appName}访问您的麦克风来获取您的声音用于录音等信息`,
12
12
  设备信息: `允许${appName}访问您设备的唯一标识,用于数据统计和分析`,
13
- 电话: `允许${appName}访问您设备的电话,用于联系客服`,
14
- 位置: `允许${appName}访问您的位置,用于为你提供下单配送服务`,
13
+ 电话: `允许${appName}访问您设备的电话,用于拨打客服电话`,
14
+ 位置: `允许${appName}访问您的位置,用于为你提供推荐优质房源服务`,
15
15
  },
16
16
  }
17
17
 
@@ -24,7 +24,12 @@ onMounted(() => {
24
24
  })
25
25
  const safeH = computed(() => {
26
26
  const { statusBarHeight, menuButtonHeight } = safeHeight()
27
- return (statusBarHeight + menuButtonHeight || 70) + 20 + 'px'
27
+ // #ifndef APP-PLUS
28
+ return statusBarHeight + menuButtonHeight + 20 + 'px'
29
+ // #endif
30
+ // #ifdef APP-PLUS
31
+ return statusBarHeight + menuButtonHeight + 'px'
32
+ // #endif
28
33
  })
29
34
  onUnmounted(() => {
30
35
  permissionListener.value.stop()