@dcloudio/uni-app-x 0.7.37 → 0.7.39

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.
Files changed (126) hide show
  1. package/package.json +1 -1
  2. package/types/UniPage.d.ts +48 -9
  3. package/types/app.d.ts +8 -5
  4. package/types/native/AsyncApiResult.d.ts +1 -0
  5. package/types/native/CanvasRenderingContext2D.d.ts +1 -1
  6. package/types/native/IUniElement.d.ts +130 -35
  7. package/types/native/UniElement.d.ts +2 -1
  8. package/types/native/UniTextElement.d.ts +1 -0
  9. package/types/native/global.d.ts +16 -0
  10. package/types/page.d.ts +47 -5
  11. package/types/uni/env/index.d.ts +87 -73
  12. package/types/uni/global.d.ts +1 -0
  13. package/types/uni/index.d.ts +1 -0
  14. package/types/uni/uni-map-tencent-global.d.ts +33 -0
  15. package/types/uni/uni-map-tencent-map.d.ts +52 -0
  16. package/types/uni/uts-plugin-api/global.d.ts +2 -1
  17. package/types/uni/uts-plugin-api/index.d.ts +2 -1
  18. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/global.d.ts +0 -2
  19. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/index.d.ts +0 -1
  20. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +212 -219
  21. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +73 -73
  22. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +331 -205
  23. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +73 -73
  24. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +848 -208
  25. package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-chooseLocation/utssdk/global.d.ts +5 -6
  26. package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-chooseLocation/utssdk/index.d.ts +3 -3
  27. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +414 -0
  28. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +2 -2
  29. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/global.d.ts +4 -0
  30. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/index.d.ts +2 -0
  31. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1226 -1726
  32. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +1 -1
  33. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +102 -18
  34. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +2 -2
  35. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +1199 -1045
  36. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +294 -263
  37. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +33 -28
  38. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +210 -0
  39. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +4828 -1750
  40. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +490 -448
  41. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2138 -829
  42. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +4 -0
  43. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +2 -0
  44. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +664 -114
  45. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +891 -9
  46. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +3 -3
  47. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +254 -114
  48. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +152 -12
  49. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +813 -57
  50. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +0 -2
  51. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +0 -45
  52. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +274 -148
  53. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +38 -3
  54. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +969 -969
  55. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +3161 -43
  56. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +316 -22
  57. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +2 -2
  58. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +42 -0
  59. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +41 -41
  60. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +88 -88
  61. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +8 -0
  62. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +4 -0
  63. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +2765 -1193
  64. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +18 -18
  65. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +3098 -1153
  66. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +13 -13
  67. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +42 -0
  68. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +10 -10
  69. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +621 -369
  70. package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/global.d.ts +8 -0
  71. package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/index.d.ts +4 -0
  72. package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/interface.d.ts +1 -0
  73. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +540 -253
  74. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +2602 -1131
  75. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +2 -2
  76. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +58 -58
  77. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +77 -35
  78. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +42 -0
  79. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/global.d.ts +4 -0
  80. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/index.d.ts +2 -0
  81. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +614 -15
  82. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +857 -437
  83. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +58 -16
  84. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +8 -0
  85. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +4 -0
  86. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1057 -516
  87. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +1656 -1488
  88. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1752 -786
  89. package/types/uni/uts-plugin-biz/global.d.ts +1 -0
  90. package/types/uni/uts-plugin-biz/index.d.ts +1 -0
  91. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +85 -1
  92. package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/interface.d.ts +46 -46
  93. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +72 -20
  94. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +126 -0
  95. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +4 -0
  96. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +2 -0
  97. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +98 -15
  98. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +677 -299
  99. package/types/uni/uts-plugin-extend/README.md +3 -0
  100. package/types/uni/uts-plugin-extend/global.d.ts +1 -0
  101. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/global.d.ts +7 -0
  102. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/index.d.ts +0 -0
  103. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/interface.d.ts +3 -0
  104. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +4 -4
  105. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +5 -5
  106. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +302 -302
  107. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +77 -77
  108. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +431 -11
  109. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +3 -3
  110. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +6 -6
  111. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +2 -2
  112. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +73 -73
  113. package/types/uni-cloud/interface.d.ts +91 -0
  114. package/uts-plugin.d.ts +3 -1
  115. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/interface.d.ts +0 -151
  116. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/global.d.ts +0 -11
  117. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/index.d.ts +0 -4
  118. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +0 -224
  119. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/global.d.ts +0 -53
  120. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/index.d.ts +0 -25
  121. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +0 -487
  122. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/global.d.ts +0 -9
  123. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/index.d.ts +0 -1
  124. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/interface.d.ts +0 -165
  125. /package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/global.d.ts +0 -0
  126. /package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/index.d.ts +0 -0
@@ -21,26 +21,26 @@ export type SetStorageCompleteCallback = (res: any) => void
21
21
  * uni.setStorage参数定义
22
22
  */
23
23
  export type SetStorageOptions = {
24
- /**
25
- * 本地存储中的指定的 key
26
- */
27
- key: string,
28
- /**
29
- * 需要存储的内容,只支持能通过 JSON.stringify 序列化的对象
30
- */
31
- data: any,
32
- /**
33
- * 接口调用成功的回调函数
34
- */
35
- success?: SetStorageSuccessCallback | null,
36
- /**
37
- * 接口调用失败的回调函数
38
- */
39
- fail?: SetStorageFailCallback | null,
40
- /**
41
- * 接口调用结束的回调函数(调用成功、失败都会执行)
42
- */
43
- complete?: SetStorageCompleteCallback | null
24
+ /**
25
+ * 本地存储中的指定的 key
26
+ */
27
+ key: string,
28
+ /**
29
+ * 需要存储的内容,只支持能通过 JSON.stringify 序列化的对象
30
+ */
31
+ data: any,
32
+ /**
33
+ * 接口调用成功的回调函数
34
+ */
35
+ success?: SetStorageSuccessCallback | null,
36
+ /**
37
+ * 接口调用失败的回调函数
38
+ */
39
+ fail?: SetStorageFailCallback | null,
40
+ /**
41
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
42
+ */
43
+ complete?: SetStorageCompleteCallback | null
44
44
  }
45
45
 
46
46
  export type SetStorage = (options: SetStorageOptions) => void
@@ -52,10 +52,10 @@ export type SetStorageSync = (key: string, data: any) => void
52
52
  * uni.getStorage成功回调参数
53
53
  */
54
54
  export type GetStorageSuccess = {
55
- /**
56
- * key 对应的内容
57
- */
58
- data: any | null
55
+ /**
56
+ * key 对应的内容
57
+ */
58
+ data: any | null
59
59
  }
60
60
 
61
61
  /**
@@ -74,22 +74,22 @@ export type GetStorageCompleteCallback = (res: any) => void
74
74
  * uni.getStorage参数定义
75
75
  */
76
76
  export type GetStorageOptions = {
77
- /**
78
- * 本地存储中的指定的 key
79
- */
80
- key: string,
81
- /**
82
- * 接口调用成功的回调函数
83
- */
84
- success?: GetStorageSuccessCallback | null,
85
- /**
86
- * 接口调用失败的回调函数
87
- */
88
- fail?: GetStorageFailCallback | null,
89
- /**
90
- * 接口调用结束的回调函数(调用成功、失败都会执行)
91
- */
92
- complete?: GetStorageCompleteCallback | null
77
+ /**
78
+ * 本地存储中的指定的 key
79
+ */
80
+ key: string,
81
+ /**
82
+ * 接口调用成功的回调函数
83
+ */
84
+ success?: GetStorageSuccessCallback | null,
85
+ /**
86
+ * 接口调用失败的回调函数
87
+ */
88
+ fail?: GetStorageFailCallback | null,
89
+ /**
90
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
91
+ */
92
+ complete?: GetStorageCompleteCallback | null
93
93
  }
94
94
 
95
95
 
@@ -103,18 +103,18 @@ export type GetStorageSync = (key: string) => any | null
103
103
  * uni.getStorageInfo成功回调参数
104
104
  */
105
105
  export type GetStorageInfoSuccess = {
106
- /**
107
- * 当前 storage 中所有的 key
108
- */
109
- keys: Array<string>,
110
- /**
111
- * 当前占用的空间大小, 单位:kb
112
- */
113
- currentSize: number,
114
- /**
115
- * 限制的空间大小, 单位:kb
116
- */
117
- limitSize: number,
106
+ /**
107
+ * 当前 storage 中所有的 key
108
+ */
109
+ keys: Array<string>,
110
+ /**
111
+ * 当前占用的空间大小, 单位:kb
112
+ */
113
+ currentSize: number,
114
+ /**
115
+ * 限制的空间大小, 单位:kb
116
+ */
117
+ limitSize: number,
118
118
  }
119
119
 
120
120
  /**
@@ -133,18 +133,18 @@ export type GetStorageInfoCompleteCallback = (res: any) => void
133
133
  * uni.getStorageInfo参数定义
134
134
  */
135
135
  export type GetStorageInfoOptions = {
136
- /**
137
- * 接口调用成功的回调函数
138
- */
139
- success?: GetStorageInfoSuccessCallback | null,
140
- /**
141
- * 接口调用失败的回调函数
142
- */
143
- fail?: GetStorageInfoFailCallback | null,
144
- /**
145
- * 接口调用结束的回调函数(调用成功、失败都会执行)
146
- */
147
- complete?: GetStorageInfoCompleteCallback | null
136
+ /**
137
+ * 接口调用成功的回调函数
138
+ */
139
+ success?: GetStorageInfoSuccessCallback | null,
140
+ /**
141
+ * 接口调用失败的回调函数
142
+ */
143
+ fail?: GetStorageInfoFailCallback | null,
144
+ /**
145
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
146
+ */
147
+ complete?: GetStorageInfoCompleteCallback | null
148
148
  }
149
149
 
150
150
 
@@ -174,22 +174,22 @@ export type RemoveStorageCompleteCallback = (res: any) => void
174
174
  * uni.removeStorage参数定义
175
175
  */
176
176
  export type RemoveStorageOptions = {
177
- /**
178
- * 本地存储中的指定的 key
179
- */
180
- key: string,
181
- /**
182
- * 接口调用的回调函数
183
- */
184
- success?: RemoveStorageSuccessCallback | null,
185
- /**
186
- * 接口调用失败的回调函数
187
- */
188
- fail?: RemoveStorageFailCallback | null,
189
- /**
190
- * 接口调用结束的回调函数(调用成功、失败都会执行)
191
- */
192
- complete?: RemoveStorageCompleteCallback | null
177
+ /**
178
+ * 本地存储中的指定的 key
179
+ */
180
+ key: string,
181
+ /**
182
+ * 接口调用的回调函数
183
+ */
184
+ success?: RemoveStorageSuccessCallback | null,
185
+ /**
186
+ * 接口调用失败的回调函数
187
+ */
188
+ fail?: RemoveStorageFailCallback | null,
189
+ /**
190
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
191
+ */
192
+ complete?: RemoveStorageCompleteCallback | null
193
193
  }
194
194
 
195
195
 
@@ -222,18 +222,18 @@ export type ClearStorageCompleteCallback = (res: any) => void
222
222
  * uni.removeStorage参数定义
223
223
  */
224
224
  export type ClearStorageOptions = {
225
- /**
226
- * 接口调用的回调函数
227
- */
228
- success?: ClearStorageSuccessCallback | null,
229
- /**
230
- * 接口调用失败的回调函数
231
- */
232
- fail?: ClearStorageFailCallback | null,
233
- /**
234
- * 接口调用结束的回调函数(调用成功、失败都会执行)
235
- */
236
- complete?: ClearStorageCompleteCallback | null
225
+ /**
226
+ * 接口调用的回调函数
227
+ */
228
+ success?: ClearStorageSuccessCallback | null,
229
+ /**
230
+ * 接口调用失败的回调函数
231
+ */
232
+ fail?: ClearStorageFailCallback | null,
233
+ /**
234
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
235
+ */
236
+ complete?: ClearStorageCompleteCallback | null
237
237
  }
238
238
 
239
239
  export type ClearStorage = (option?: ClearStorageOptions | null) => void
@@ -242,359 +242,779 @@ export type ClearStorage = (option?: ClearStorageOptions | null) => void
242
242
  export type ClearStorageSync = () => void
243
243
 
244
244
  export interface Uni {
245
- /**
246
- * uni.setStorage函数定义
247
- * 将数据存储在本地storage存储中指定的 key 中,会覆盖掉原来该 key 对应的内容,这是一个异步接口。
248
- *
249
- * @param {SetStorageOptions} options
250
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#setstorage
251
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstorage
252
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstorage
253
- * @uniPlatform {
254
- * "app": {
255
- * "android": {
256
- * "osVer": "5.0",
257
- * "uniVer": "2.0.3",
258
- * "unixVer": "3.9.0"
259
- * },
260
- * "ios": {
261
- * "osVer": "12.0",
262
- * "uniVer": "2.0.3",
263
- * "unixVer": "4.11"
264
- * },
265
- * "harmony": {
266
- * "osVer": "3.0",
267
- * "uniVer": "4.23",
268
- * "unixVer": "x"
245
+ /**
246
+ * uni.setStorage函数定义
247
+ * 将数据存储在本地storage存储中指定的 key 中,会覆盖掉原来该 key 对应的内容,这是一个异步接口。
248
+ *
249
+ * @param {SetStorageOptions} options
250
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#setstorage
251
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstorage
252
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstorage
253
+ * @uniPlatform {
254
+ * "app": {
255
+ * "android": {
256
+ * "osVer": "5.0",
257
+ * "uniVer": "2.0.3",
258
+ * "unixVer": "3.9.0"
259
+ * },
260
+ * "ios": {
261
+ * "osVer": "12.0",
262
+ * "uniVer": "2.0.3",
263
+ * "unixVer": "4.11"
264
+ * },
265
+ * "harmony": {
266
+ * "osVer": "3.0",
267
+ * "uniVer": "4.23",
268
+ * "unixVer": "x"
269
+ * }
270
+ * },
271
+ * "mp": {
272
+ * "weixin": {
273
+ * "hostVer": "√",
274
+ * "uniVer": "√",
275
+ * "unixVer": "4.41"
276
+ * },
277
+ * "alipay": {
278
+ * "hostVer": "√",
279
+ * "uniVer": "√",
280
+ * "unixVer": "x"
281
+ * },
282
+ * "baidu": {
283
+ * "hostVer": "√",
284
+ * "uniVer": "√",
285
+ * "unixVer": "x"
286
+ * },
287
+ * "toutiao": {
288
+ * "hostVer": "√",
289
+ * "uniVer": "√",
290
+ * "unixVer": "x"
291
+ * },
292
+ * "lark": {
293
+ * "hostVer": "√",
294
+ * "uniVer": "√",
295
+ * "unixVer": "x"
296
+ * },
297
+ * "qq": {
298
+ * "hostVer": "√",
299
+ * "uniVer": "√",
300
+ * "unixVer": "x"
301
+ * },
302
+ * "kuaishou": {
303
+ * "hostVer": "√",
304
+ * "uniVer": "√",
305
+ * "unixVer": "x"
306
+ * },
307
+ * "jd": {
308
+ * "hostVer": "√",
309
+ * "uniVer": "√",
310
+ * "unixVer": "x"
311
+ * }
312
+ * },
313
+ * "web": {
314
+ * "uniVer": "√",
315
+ * "unixVer": "4.0"
269
316
  * }
270
- * },
271
- * "web": {
272
- * "uniVer": "√",
273
- * "unixVer": "4.0"
274
- * }
275
- * }
276
- * @uniVersion 2.0.3
277
- * @uniVueVersion 2,3 //支持的vue版本
278
- */
279
- setStorage(options: SetStorageOptions) : void,
280
- /**
281
- * uni.setStorageSync函数定义
282
- * data 存储在本地storage存储中指定的 key 中,会覆盖掉原来该 key 对应的内容,这是一个同步接口。
283
- *
284
- * @param {string} key 本地storage存储中的指定的 key
285
- * @param {any} data 需要存储的内容,只支持能通过 JSON.stringify 序列化的对象
286
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#setstoragesync
287
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstoragesync
288
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstoragesync
289
- * @uniPlatform {
290
- * "app": {
291
- * "android": {
292
- * "osVer": "5.0",
293
- * "uniVer": "2.0.3",
294
- * "unixVer": "3.9.0"
295
- * },
296
- * "ios": {
297
- * "osVer": "12.0",
298
- * "uniVer": "2.0.3",
299
- * "unixVer": "4.11"
300
- * },
301
- * "harmony": {
302
- * "osVer": "3.0",
303
- * "uniVer": "4.23",
304
- * "unixVer": "x"
317
+ * }
318
+ * @uniVersion 2.0.3
319
+ * @uniVueVersion 2,3 //支持的vue版本
320
+ */
321
+ setStorage(options: SetStorageOptions): void,
322
+ /**
323
+ * uni.setStorageSync函数定义
324
+ * data 存储在本地storage存储中指定的 key 中,会覆盖掉原来该 key 对应的内容,这是一个同步接口。
325
+ *
326
+ * @param {string} key 本地storage存储中的指定的 key
327
+ * @param {any} data 需要存储的内容,只支持能通过 JSON.stringify 序列化的对象
328
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#setstoragesync
329
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstoragesync
330
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstoragesync
331
+ * @uniPlatform {
332
+ * "app": {
333
+ * "android": {
334
+ * "osVer": "5.0",
335
+ * "uniVer": "2.0.3",
336
+ * "unixVer": "3.9.0"
337
+ * },
338
+ * "ios": {
339
+ * "osVer": "12.0",
340
+ * "uniVer": "2.0.3",
341
+ * "unixVer": "4.11"
342
+ * },
343
+ * "harmony": {
344
+ * "osVer": "3.0",
345
+ * "uniVer": "4.23",
346
+ * "unixVer": "x"
347
+ * }
348
+ * },
349
+ * "mp": {
350
+ * "weixin": {
351
+ * "hostVer": "",
352
+ * "uniVer": "√",
353
+ * "unixVer": "4.41"
354
+ * },
355
+ * "alipay": {
356
+ * "hostVer": "√",
357
+ * "uniVer": "√",
358
+ * "unixVer": "x"
359
+ * },
360
+ * "baidu": {
361
+ * "hostVer": "√",
362
+ * "uniVer": "√",
363
+ * "unixVer": "x"
364
+ * },
365
+ * "toutiao": {
366
+ * "hostVer": "√",
367
+ * "uniVer": "√",
368
+ * "unixVer": "x"
369
+ * },
370
+ * "lark": {
371
+ * "hostVer": "√",
372
+ * "uniVer": "√",
373
+ * "unixVer": "x"
374
+ * },
375
+ * "qq": {
376
+ * "hostVer": "√",
377
+ * "uniVer": "√",
378
+ * "unixVer": "x"
379
+ * },
380
+ * "kuaishou": {
381
+ * "hostVer": "√",
382
+ * "uniVer": "√",
383
+ * "unixVer": "x"
384
+ * },
385
+ * "jd": {
386
+ * "hostVer": "√",
387
+ * "uniVer": "√",
388
+ * "unixVer": "x"
389
+ * }
390
+ * },
391
+ * "web": {
392
+ * "uniVer": "√",
393
+ * "unixVer": "4.0"
305
394
  * }
306
- * },
307
- * "web": {
308
- * "uniVer": "√",
309
- * "unixVer": "4.0"
310
- * }
311
- * }
312
- * @uniVersion 2.0.3
313
- * @uniVueVersion 2,3 //支持的vue版本
314
- */
315
- setStorageSync(key: string, data: any) : void,
316
- /**
317
- * uni.getStorage函数定义
318
- * 从本地存储中异步获取指定 key 对应的内容。
319
- *
320
- * @param {GetStorageOptions} options
321
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorage
322
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorage
323
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorage
324
- * @uniPlatform {
325
- * "app": {
326
- * "android": {
327
- * "osVer": "5.0",
328
- * "uniVer": "2.0.3",
329
- * "unixVer": "3.9.0"
330
- * },
331
- * "ios": {
332
- * "osVer": "12.0",
333
- * "uniVer": "2.0.3",
334
- * "unixVer": "4.11"
335
- * },
336
- * "harmony": {
337
- * "osVer": "3.0",
338
- * "uniVer": "4.23",
339
- * "unixVer": "x"
395
+ * }
396
+ * @uniVersion 2.0.3
397
+ * @uniVueVersion 2,3 //支持的vue版本
398
+ */
399
+ setStorageSync(key: string, data: any): void,
400
+ /**
401
+ * uni.getStorage函数定义
402
+ * 从本地存储中异步获取指定 key 对应的内容。
403
+ *
404
+ * @param {GetStorageOptions} options
405
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorage
406
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorage
407
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorage
408
+ * @uniPlatform {
409
+ * "app": {
410
+ * "android": {
411
+ * "osVer": "5.0",
412
+ * "uniVer": "2.0.3",
413
+ * "unixVer": "3.9.0"
414
+ * },
415
+ * "ios": {
416
+ * "osVer": "12.0",
417
+ * "uniVer": "2.0.3",
418
+ * "unixVer": "4.11"
419
+ * },
420
+ * "harmony": {
421
+ * "osVer": "3.0",
422
+ * "uniVer": "4.23",
423
+ * "unixVer": "x"
424
+ * }
425
+ * },
426
+ * "mp": {
427
+ * "weixin": {
428
+ * "hostVer": "",
429
+ * "uniVer": "√",
430
+ * "unixVer": "4.41"
431
+ * },
432
+ * "alipay": {
433
+ * "hostVer": "√",
434
+ * "uniVer": "√",
435
+ * "unixVer": "x"
436
+ * },
437
+ * "baidu": {
438
+ * "hostVer": "√",
439
+ * "uniVer": "√",
440
+ * "unixVer": "x"
441
+ * },
442
+ * "toutiao": {
443
+ * "hostVer": "√",
444
+ * "uniVer": "√",
445
+ * "unixVer": "x"
446
+ * },
447
+ * "lark": {
448
+ * "hostVer": "√",
449
+ * "uniVer": "√",
450
+ * "unixVer": "x"
451
+ * },
452
+ * "qq": {
453
+ * "hostVer": "√",
454
+ * "uniVer": "√",
455
+ * "unixVer": "x"
456
+ * },
457
+ * "kuaishou": {
458
+ * "hostVer": "√",
459
+ * "uniVer": "√",
460
+ * "unixVer": "x"
461
+ * },
462
+ * "jd": {
463
+ * "hostVer": "√",
464
+ * "uniVer": "√",
465
+ * "unixVer": "x"
466
+ * }
467
+ * },
468
+ * "web": {
469
+ * "uniVer": "√",
470
+ * "unixVer": "4.0"
340
471
  * }
341
- * },
342
- * "web": {
343
- * "uniVer": "√",
344
- * "unixVer": "4.0"
345
- * }
346
- * }
347
- * @uniVersion 2.0.3
348
- * @uniVueVersion 2,3 //支持的vue版本
349
- */
350
- getStorage(options: GetStorageOptions) : void,
351
- /**
352
- * uni.getStorageSync函数定义
353
- * 从本地存储中同步获取指定 key 对应的内容。
354
- *
355
- * @param {string} key 本地存储中的指定的 key
356
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstoragesync
357
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstoragesync
358
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstoragesync
359
- * @uniPlatform {
360
- * "app": {
361
- * "android": {
362
- * "osVer": "5.0",
363
- * "uniVer": "2.0.3",
364
- * "unixVer": "3.9.0"
365
- * },
366
- * "ios": {
367
- * "osVer": "12.0",
368
- * "uniVer": "2.0.3",
369
- * "unixVer": "4.11"
370
- * },
371
- * "harmony": {
372
- * "osVer": "3.0",
373
- * "uniVer": "4.23",
374
- * "unixVer": "x"
472
+ * }
473
+ * @uniVersion 2.0.3
474
+ * @uniVueVersion 2,3 //支持的vue版本
475
+ */
476
+ getStorage(options: GetStorageOptions): void,
477
+ /**
478
+ * uni.getStorageSync函数定义
479
+ * 从本地存储中同步获取指定 key 对应的内容。
480
+ *
481
+ * @param {string} key 本地存储中的指定的 key
482
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstoragesync
483
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstoragesync
484
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstoragesync
485
+ * @uniPlatform {
486
+ * "app": {
487
+ * "android": {
488
+ * "osVer": "5.0",
489
+ * "uniVer": "2.0.3",
490
+ * "unixVer": "3.9.0"
491
+ * },
492
+ * "ios": {
493
+ * "osVer": "12.0",
494
+ * "uniVer": "2.0.3",
495
+ * "unixVer": "4.11"
496
+ * },
497
+ * "harmony": {
498
+ * "osVer": "3.0",
499
+ * "uniVer": "4.23",
500
+ * "unixVer": "x"
501
+ * }
502
+ * },
503
+ * "mp": {
504
+ * "weixin": {
505
+ * "hostVer": "",
506
+ * "uniVer": "√",
507
+ * "unixVer": "4.41"
508
+ * },
509
+ * "alipay": {
510
+ * "hostVer": "√",
511
+ * "uniVer": "√",
512
+ * "unixVer": "x"
513
+ * },
514
+ * "baidu": {
515
+ * "hostVer": "√",
516
+ * "uniVer": "√",
517
+ * "unixVer": "x"
518
+ * },
519
+ * "toutiao": {
520
+ * "hostVer": "√",
521
+ * "uniVer": "√",
522
+ * "unixVer": "x"
523
+ * },
524
+ * "lark": {
525
+ * "hostVer": "√",
526
+ * "uniVer": "√",
527
+ * "unixVer": "x"
528
+ * },
529
+ * "qq": {
530
+ * "hostVer": "√",
531
+ * "uniVer": "√",
532
+ * "unixVer": "x"
533
+ * },
534
+ * "kuaishou": {
535
+ * "hostVer": "√",
536
+ * "uniVer": "√",
537
+ * "unixVer": "x"
538
+ * },
539
+ * "jd": {
540
+ * "hostVer": "√",
541
+ * "uniVer": "√",
542
+ * "unixVer": "x"
543
+ * }
544
+ * },
545
+ * "web": {
546
+ * "uniVer": "√",
547
+ * "unixVer": "4.0"
375
548
  * }
376
- * },
377
- * "web": {
378
- * "uniVer": "√",
379
- * "unixVer": "4.0"
380
- * }
381
- * }
382
- * @uniVersion 2.0.3
383
- * @uniVueVersion 2,3 //支持的vue版本
384
- */
385
- getStorageSync(key: string) : any | null,
386
- /**
387
- * uni.getStorageInfo函数定义
388
- * 异步获取当前 storage 的相关信息。
389
- *
390
- * @param {GetStorageInfoOptions} options
391
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorageinfo
392
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfo
393
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfo
394
- * @uniPlatform {
395
- * "app": {
396
- * "android": {
397
- * "osVer": "5.0",
398
- * "uniVer": "2.0.3",
399
- * "unixVer": "3.9.0"
400
- * },
401
- * "ios": {
402
- * "osVer": "12.0",
403
- * "uniVer": "2.0.3",
404
- * "unixVer": "4.11"
405
- * },
406
- * "harmony": {
407
- * "osVer": "3.0",
408
- * "uniVer": "4.23",
409
- * "unixVer": "x"
549
+ * }
550
+ * @uniVersion 2.0.3
551
+ * @uniVueVersion 2,3 //支持的vue版本
552
+ */
553
+ getStorageSync(key: string): any | null,
554
+ /**
555
+ * uni.getStorageInfo函数定义
556
+ * 异步获取当前 storage 的相关信息。
557
+ *
558
+ * @param {GetStorageInfoOptions} options
559
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorageinfo
560
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfo
561
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfo
562
+ * @uniPlatform {
563
+ * "app": {
564
+ * "android": {
565
+ * "osVer": "5.0",
566
+ * "uniVer": "2.0.3",
567
+ * "unixVer": "3.9.0"
568
+ * },
569
+ * "ios": {
570
+ * "osVer": "12.0",
571
+ * "uniVer": "2.0.3",
572
+ * "unixVer": "4.11"
573
+ * },
574
+ * "harmony": {
575
+ * "osVer": "3.0",
576
+ * "uniVer": "4.23",
577
+ * "unixVer": "x"
578
+ * }
579
+ * },
580
+ * "mp": {
581
+ * "weixin": {
582
+ * "hostVer": "",
583
+ * "uniVer": "√",
584
+ * "unixVer": "4.41"
585
+ * },
586
+ * "alipay": {
587
+ * "hostVer": "√",
588
+ * "uniVer": "√",
589
+ * "unixVer": "x"
590
+ * },
591
+ * "baidu": {
592
+ * "hostVer": "√",
593
+ * "uniVer": "√",
594
+ * "unixVer": "x"
595
+ * },
596
+ * "toutiao": {
597
+ * "hostVer": "√",
598
+ * "uniVer": "√",
599
+ * "unixVer": "x"
600
+ * },
601
+ * "lark": {
602
+ * "hostVer": "√",
603
+ * "uniVer": "√",
604
+ * "unixVer": "x"
605
+ * },
606
+ * "qq": {
607
+ * "hostVer": "√",
608
+ * "uniVer": "√",
609
+ * "unixVer": "x"
610
+ * },
611
+ * "kuaishou": {
612
+ * "hostVer": "√",
613
+ * "uniVer": "√",
614
+ * "unixVer": "x"
615
+ * },
616
+ * "jd": {
617
+ * "hostVer": "√",
618
+ * "uniVer": "√",
619
+ * "unixVer": "x"
620
+ * }
621
+ * },
622
+ * "web": {
623
+ * "uniVer": "√",
624
+ * "unixVer": "4.0"
410
625
  * }
411
- * },
412
- * "web": {
413
- * "uniVer": "√",
414
- * "unixVer": "4.0"
415
- * }
416
- * }
417
- * @uniVersion 2.0.3
418
- * @uniVueVersion 2,3 //支持的vue版本
419
- */
420
- getStorageInfo(options: GetStorageInfoOptions) : void,
421
- /**
422
- * uni.getStorageInfoSync函数定义
423
- * 同步获取当前 storage 的相关信息。
424
- *
425
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorageinfosync
426
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfosync
427
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfosync
428
- *
429
- * @uniPlatform {
430
- * "app": {
431
- * "android": {
432
- * "osVer": "5.0",
433
- * "uniVer": "2.0.3",
434
- * "unixVer": "3.9.0"
435
- * },
436
- * "ios": {
437
- * "osVer": "12.0",
438
- * "uniVer": "2.0.3",
439
- * "unixVer": "4.11"
440
- * },
441
- * "harmony": {
442
- * "osVer": "3.0",
443
- * "uniVer": "4.23",
444
- * "unixVer": "x"
626
+ * }
627
+ * @uniVersion 2.0.3
628
+ * @uniVueVersion 2,3 //支持的vue版本
629
+ */
630
+ getStorageInfo(options: GetStorageInfoOptions): void,
631
+ /**
632
+ * uni.getStorageInfoSync函数定义
633
+ * 同步获取当前 storage 的相关信息。
634
+ *
635
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorageinfosync
636
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfosync
637
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfosync
638
+ *
639
+ * @uniPlatform {
640
+ * "app": {
641
+ * "android": {
642
+ * "osVer": "5.0",
643
+ * "uniVer": "2.0.3",
644
+ * "unixVer": "3.9.0"
645
+ * },
646
+ * "ios": {
647
+ * "osVer": "12.0",
648
+ * "uniVer": "2.0.3",
649
+ * "unixVer": "4.11"
650
+ * },
651
+ * "harmony": {
652
+ * "osVer": "3.0",
653
+ * "uniVer": "4.23",
654
+ * "unixVer": "x"
655
+ * }
656
+ * },
657
+ * "mp": {
658
+ * "weixin": {
659
+ * "hostVer": "",
660
+ * "uniVer": "√",
661
+ * "unixVer": "4.41"
662
+ * },
663
+ * "alipay": {
664
+ * "hostVer": "√",
665
+ * "uniVer": "√",
666
+ * "unixVer": "x"
667
+ * },
668
+ * "baidu": {
669
+ * "hostVer": "√",
670
+ * "uniVer": "√",
671
+ * "unixVer": "x"
672
+ * },
673
+ * "toutiao": {
674
+ * "hostVer": "√",
675
+ * "uniVer": "√",
676
+ * "unixVer": "x"
677
+ * },
678
+ * "lark": {
679
+ * "hostVer": "√",
680
+ * "uniVer": "√",
681
+ * "unixVer": "x"
682
+ * },
683
+ * "qq": {
684
+ * "hostVer": "√",
685
+ * "uniVer": "√",
686
+ * "unixVer": "x"
687
+ * },
688
+ * "kuaishou": {
689
+ * "hostVer": "√",
690
+ * "uniVer": "√",
691
+ * "unixVer": "x"
692
+ * },
693
+ * "jd": {
694
+ * "hostVer": "√",
695
+ * "uniVer": "√",
696
+ * "unixVer": "x"
697
+ * }
698
+ * },
699
+ * "web": {
700
+ * "uniVer": "√",
701
+ * "unixVer": "4.0"
445
702
  * }
446
- * },
447
- * "web": {
448
- * "uniVer": "√",
449
- * "unixVer": "4.0"
450
- * }
451
- * }
452
- * @uniVersion 2.0.3
453
- * @uniVueVersion 2,3 //支持的vue版本
454
- */
455
- getStorageInfoSync() : GetStorageInfoSuccess,
456
- /**
457
- * uni.removeStorage函数定义
458
- * 从本地存储中异步移除指定 key。
459
- *
460
- * @param {RemoveStorageOptions} options
461
- *
462
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#removestorage
463
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestorage
464
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestorage
465
- *
466
- * @uniPlatform {
467
- * "app": {
468
- * "android": {
469
- * "osVer": "5.0",
470
- * "uniVer": "2.0.3",
471
- * "unixVer": "3.9.0"
472
- * },
473
- * "ios": {
474
- * "osVer": "12.0",
475
- * "uniVer": "2.0.3",
476
- * "unixVer": "4.11"
477
- * },
478
- * "harmony": {
479
- * "osVer": "3.0",
480
- * "uniVer": "4.23",
481
- * "unixVer": "x"
703
+ * }
704
+ * @uniVersion 2.0.3
705
+ * @uniVueVersion 2,3 //支持的vue版本
706
+ */
707
+ getStorageInfoSync(): GetStorageInfoSuccess,
708
+ /**
709
+ * uni.removeStorage函数定义
710
+ * 从本地存储中异步移除指定 key。
711
+ *
712
+ * @param {RemoveStorageOptions} options
713
+ *
714
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#removestorage
715
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestorage
716
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestorage
717
+ *
718
+ * @uniPlatform {
719
+ * "app": {
720
+ * "android": {
721
+ * "osVer": "5.0",
722
+ * "uniVer": "2.0.3",
723
+ * "unixVer": "3.9.0"
724
+ * },
725
+ * "ios": {
726
+ * "osVer": "12.0",
727
+ * "uniVer": "2.0.3",
728
+ * "unixVer": "4.11"
729
+ * },
730
+ * "harmony": {
731
+ * "osVer": "3.0",
732
+ * "uniVer": "4.23",
733
+ * "unixVer": "x"
734
+ * }
735
+ * },
736
+ * "mp": {
737
+ * "weixin": {
738
+ * "hostVer": "",
739
+ * "uniVer": "√",
740
+ * "unixVer": "4.41"
741
+ * },
742
+ * "alipay": {
743
+ * "hostVer": "√",
744
+ * "uniVer": "√",
745
+ * "unixVer": "x"
746
+ * },
747
+ * "baidu": {
748
+ * "hostVer": "√",
749
+ * "uniVer": "√",
750
+ * "unixVer": "x"
751
+ * },
752
+ * "toutiao": {
753
+ * "hostVer": "√",
754
+ * "uniVer": "√",
755
+ * "unixVer": "x"
756
+ * },
757
+ * "lark": {
758
+ * "hostVer": "√",
759
+ * "uniVer": "√",
760
+ * "unixVer": "x"
761
+ * },
762
+ * "qq": {
763
+ * "hostVer": "√",
764
+ * "uniVer": "√",
765
+ * "unixVer": "x"
766
+ * },
767
+ * "kuaishou": {
768
+ * "hostVer": "√",
769
+ * "uniVer": "√",
770
+ * "unixVer": "x"
771
+ * },
772
+ * "jd": {
773
+ * "hostVer": "√",
774
+ * "uniVer": "√",
775
+ * "unixVer": "x"
776
+ * }
777
+ * },
778
+ * "web": {
779
+ * "uniVer": "√",
780
+ * "unixVer": "4.0"
482
781
  * }
483
- * },
484
- * "web": {
485
- * "uniVer": "√",
486
- * "unixVer": "4.0"
487
- * }
488
- * }
489
- * @uniVersion 2.0.3
490
- * @uniVueVersion 2,3 //支持的vue版本
491
- */
492
- removeStorage(options: RemoveStorageOptions) : void,
493
- /**
494
- * uni.removeStorageSync函数定义
495
- * 从本地存储中同步移除指定 key。
496
- *
497
- * @param {string} key 本地存储中的指定的 key
498
- *
499
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#removestoragesync
500
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestoragesync
501
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestoragesync
502
- *
503
- * @uniPlatform {
504
- * "app": {
505
- * "android": {
506
- * "osVer": "5.0",
507
- * "uniVer": "2.0.3",
508
- * "unixVer": "3.9.0"
509
- * },
510
- * "ios": {
511
- * "osVer": "12.0",
512
- * "uniVer": "2.0.3",
513
- * "unixVer": "4.11"
514
- * },
515
- * "harmony": {
516
- * "osVer": "3.0",
517
- * "uniVer": "4.23",
518
- * "unixVer": "x"
782
+ * }
783
+ * @uniVersion 2.0.3
784
+ * @uniVueVersion 2,3 //支持的vue版本
785
+ */
786
+ removeStorage(options: RemoveStorageOptions): void,
787
+ /**
788
+ * uni.removeStorageSync函数定义
789
+ * 从本地存储中同步移除指定 key。
790
+ *
791
+ * @param {string} key 本地存储中的指定的 key
792
+ *
793
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#removestoragesync
794
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestoragesync
795
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestoragesync
796
+ *
797
+ * @uniPlatform {
798
+ * "app": {
799
+ * "android": {
800
+ * "osVer": "5.0",
801
+ * "uniVer": "2.0.3",
802
+ * "unixVer": "3.9.0"
803
+ * },
804
+ * "ios": {
805
+ * "osVer": "12.0",
806
+ * "uniVer": "2.0.3",
807
+ * "unixVer": "4.11"
808
+ * },
809
+ * "harmony": {
810
+ * "osVer": "3.0",
811
+ * "uniVer": "4.23",
812
+ * "unixVer": "x"
813
+ * }
814
+ * },
815
+ * "mp": {
816
+ * "weixin": {
817
+ * "hostVer": "",
818
+ * "uniVer": "√",
819
+ * "unixVer": "4.41"
820
+ * },
821
+ * "alipay": {
822
+ * "hostVer": "√",
823
+ * "uniVer": "√",
824
+ * "unixVer": "x"
825
+ * },
826
+ * "baidu": {
827
+ * "hostVer": "√",
828
+ * "uniVer": "√",
829
+ * "unixVer": "x"
830
+ * },
831
+ * "toutiao": {
832
+ * "hostVer": "√",
833
+ * "uniVer": "√",
834
+ * "unixVer": "x"
835
+ * },
836
+ * "lark": {
837
+ * "hostVer": "√",
838
+ * "uniVer": "√",
839
+ * "unixVer": "x"
840
+ * },
841
+ * "qq": {
842
+ * "hostVer": "√",
843
+ * "uniVer": "√",
844
+ * "unixVer": "x"
845
+ * },
846
+ * "kuaishou": {
847
+ * "hostVer": "√",
848
+ * "uniVer": "√",
849
+ * "unixVer": "x"
850
+ * },
851
+ * "jd": {
852
+ * "hostVer": "√",
853
+ * "uniVer": "√",
854
+ * "unixVer": "x"
855
+ * }
856
+ * },
857
+ * "web": {
858
+ * "uniVer": "√",
859
+ * "unixVer": "4.0"
519
860
  * }
520
- * },
521
- * "web": {
522
- * "uniVer": "√",
523
- * "unixVer": "4.0"
524
- * }
525
- * }
526
- * @uniVersion 2.0.3
527
- * @uniVueVersion 2,3 //支持的vue版本
528
- */
529
- removeStorageSync(key: string) : void,
530
- /**
531
- * uni.clearStorage函数定义
532
- * 清除本地数据存储。
533
- *
534
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#clearstorage
535
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstorage
536
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstorage
537
- *
538
- * @uniPlatform {
539
- * "app": {
540
- * "android": {
541
- * "osVer": "5.0",
542
- * "uniVer": "2.0.3",
543
- * "unixVer": "3.9.0"
544
- * },
545
- * "ios": {
546
- * "osVer": "12.0",
547
- * "uniVer": "2.0.3",
548
- * "unixVer": "4.11"
549
- * },
550
- * "harmony": {
551
- * "osVer": "3.0",
552
- * "uniVer": "4.23",
553
- * "unixVer": "x"
861
+ * }
862
+ * @uniVersion 2.0.3
863
+ * @uniVueVersion 2,3 //支持的vue版本
864
+ */
865
+ removeStorageSync(key: string): void,
866
+ /**
867
+ * uni.clearStorage函数定义
868
+ * 清除本地数据存储。
869
+ *
870
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#clearstorage
871
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstorage
872
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstorage
873
+ *
874
+ * @uniPlatform {
875
+ * "app": {
876
+ * "android": {
877
+ * "osVer": "5.0",
878
+ * "uniVer": "2.0.3",
879
+ * "unixVer": "3.9.0"
880
+ * },
881
+ * "ios": {
882
+ * "osVer": "12.0",
883
+ * "uniVer": "2.0.3",
884
+ * "unixVer": "4.11"
885
+ * },
886
+ * "harmony": {
887
+ * "osVer": "3.0",
888
+ * "uniVer": "4.23",
889
+ * "unixVer": "x"
890
+ * }
891
+ * },
892
+ * "mp": {
893
+ * "weixin": {
894
+ * "hostVer": "",
895
+ * "uniVer": "√",
896
+ * "unixVer": "4.41"
897
+ * },
898
+ * "alipay": {
899
+ * "hostVer": "√",
900
+ * "uniVer": "√",
901
+ * "unixVer": "x"
902
+ * },
903
+ * "baidu": {
904
+ * "hostVer": "√",
905
+ * "uniVer": "√",
906
+ * "unixVer": "x"
907
+ * },
908
+ * "toutiao": {
909
+ * "hostVer": "√",
910
+ * "uniVer": "√",
911
+ * "unixVer": "x"
912
+ * },
913
+ * "lark": {
914
+ * "hostVer": "√",
915
+ * "uniVer": "√",
916
+ * "unixVer": "x"
917
+ * },
918
+ * "qq": {
919
+ * "hostVer": "√",
920
+ * "uniVer": "√",
921
+ * "unixVer": "x"
922
+ * },
923
+ * "kuaishou": {
924
+ * "hostVer": "√",
925
+ * "uniVer": "√",
926
+ * "unixVer": "x"
927
+ * },
928
+ * "jd": {
929
+ * "hostVer": "√",
930
+ * "uniVer": "√",
931
+ * "unixVer": "x"
932
+ * }
933
+ * },
934
+ * "web": {
935
+ * "uniVer": "√",
936
+ * "unixVer": "4.0"
554
937
  * }
555
- * },
556
- * "web": {
557
- * "uniVer": "√",
558
- * "unixVer": "4.0"
559
- * }
560
- * }
561
- * @uniVersion 2.0.3
562
- * @uniVueVersion 2,3 //支持的vue版本
563
- */
564
- clearStorage(option?: ClearStorageOptions | null) : void,
565
- /**
566
- * uni.clearStorageSync函数定义
567
- * 清除本地数据存储。
568
- *
569
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#clearstoragesync
570
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstoragesync
571
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstoragesync
572
- *
573
- * @uniPlatform {
574
- * "app": {
575
- * "android": {
576
- * "osVer": "5.0",
577
- * "uniVer": "2.0.3",
578
- * "unixVer": "3.9.0"
579
- * },
580
- * "ios": {
581
- * "osVer": "12.0",
582
- * "uniVer": "2.0.3",
583
- * "unixVer": "4.11"
584
- * },
585
- * "harmony": {
586
- * "osVer": "3.0",
587
- * "uniVer": "4.23",
588
- * "unixVer": "x"
938
+ * }
939
+ * @uniVersion 2.0.3
940
+ * @uniVueVersion 2,3 //支持的vue版本
941
+ */
942
+ clearStorage(option?: ClearStorageOptions | null): void,
943
+ /**
944
+ * uni.clearStorageSync函数定义
945
+ * 清除本地数据存储。
946
+ *
947
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/storage/storage.html#clearstoragesync
948
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstoragesync
949
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstoragesync
950
+ *
951
+ * @uniPlatform {
952
+ * "app": {
953
+ * "android": {
954
+ * "osVer": "5.0",
955
+ * "uniVer": "2.0.3",
956
+ * "unixVer": "3.9.0"
957
+ * },
958
+ * "ios": {
959
+ * "osVer": "12.0",
960
+ * "uniVer": "2.0.3",
961
+ * "unixVer": "4.11"
962
+ * },
963
+ * "harmony": {
964
+ * "osVer": "3.0",
965
+ * "uniVer": "4.23",
966
+ * "unixVer": "x"
967
+ * }
968
+ * },
969
+ * "mp": {
970
+ * "weixin": {
971
+ * "hostVer": "",
972
+ * "uniVer": "√",
973
+ * "unixVer": "4.41"
974
+ * },
975
+ * "alipay": {
976
+ * "hostVer": "√",
977
+ * "uniVer": "√",
978
+ * "unixVer": "x"
979
+ * },
980
+ * "baidu": {
981
+ * "hostVer": "√",
982
+ * "uniVer": "√",
983
+ * "unixVer": "x"
984
+ * },
985
+ * "toutiao": {
986
+ * "hostVer": "√",
987
+ * "uniVer": "√",
988
+ * "unixVer": "x"
989
+ * },
990
+ * "lark": {
991
+ * "hostVer": "√",
992
+ * "uniVer": "√",
993
+ * "unixVer": "x"
994
+ * },
995
+ * "qq": {
996
+ * "hostVer": "√",
997
+ * "uniVer": "√",
998
+ * "unixVer": "x"
999
+ * },
1000
+ * "kuaishou": {
1001
+ * "hostVer": "√",
1002
+ * "uniVer": "√",
1003
+ * "unixVer": "x"
1004
+ * },
1005
+ * "jd": {
1006
+ * "hostVer": "√",
1007
+ * "uniVer": "√",
1008
+ * "unixVer": "x"
1009
+ * }
1010
+ * },
1011
+ * "web": {
1012
+ * "uniVer": "√",
1013
+ * "unixVer": "4.0"
589
1014
  * }
590
- * },
591
- * "web": {
592
- * "uniVer": "√",
593
- * "unixVer": "4.0"
594
- * }
595
- * }
596
- * @uniVersion 2.0.3
597
- * @uniVueVersion 2,3 //支持的vue版本
598
- */
599
- clearStorageSync() : void
1015
+ * }
1016
+ * @uniVersion 2.0.3
1017
+ * @uniVueVersion 2,3 //支持的vue版本
1018
+ */
1019
+ clearStorageSync(): void
600
1020
  }