Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
uni-api
提交
80072e8e
U
uni-api
项目概览
DCloud
/
uni-api
通知
689
Star
23
Fork
12
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
3
列表
看板
标记
里程碑
合并请求
1
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-api
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
3
Issue
3
列表
看板
标记
里程碑
合并请求
1
合并请求
1
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
80072e8e
编写于
1月 26, 2024
作者:
lizhongyi_
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
调整api iOS平台 unixVer
(cherry picked from commit
71100e80
)
上级
1b9f0ee9
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
130 addition
and
130 deletion
+130
-130
uni_modules/uni-getAppBaseInfo/utssdk/interface.uts
uni_modules/uni-getAppBaseInfo/utssdk/interface.uts
+17
-17
uni_modules/uni-getDeviceInfo/utssdk/interface.uts
uni_modules/uni-getDeviceInfo/utssdk/interface.uts
+13
-13
uni_modules/uni-getSystemSetting/utssdk/interface.uts
uni_modules/uni-getSystemSetting/utssdk/interface.uts
+2
-2
uni_modules/uni-getbatteryinfo/utssdk/interface.uts
uni_modules/uni-getbatteryinfo/utssdk/interface.uts
+2
-2
uni_modules/uni-memorywarning/utssdk/interface.uts
uni_modules/uni-memorywarning/utssdk/interface.uts
+2
-2
uni_modules/uni-network/utssdk/interface.uts
uni_modules/uni-network/utssdk/interface.uts
+19
-19
uni_modules/uni-prompt/utssdk/interface.uts
uni_modules/uni-prompt/utssdk/interface.uts
+26
-26
uni_modules/uni-storage/utssdk/interface.uts
uni_modules/uni-storage/utssdk/interface.uts
+34
-34
uni_modules/uni-usercapturescreen/index.d.ts
uni_modules/uni-usercapturescreen/index.d.ts
+4
-4
uni_modules/uni-wifi/utssdk/interface.uts
uni_modules/uni-wifi/utssdk/interface.uts
+11
-11
未找到文件。
uni_modules/uni-getAppBaseInfo/utssdk/interface.uts
浏览文件 @
80072e8e
...
...
@@ -7,7 +7,7 @@ export type GetAppBaseInfoOptions = {
export type GetAppBaseInfoResult = {
/**
* manifest.json 中应用appid,即DCloud appid。
* manifest.json 中应用appid,即DCloud appid。
*/
appId?: string,
/**
...
...
@@ -23,11 +23,11 @@ export type GetAppBaseInfoResult = {
*/
appVersionCode?: string,
/**
* 应用设置的语言en、zh-Hans、zh-Hant、fr、es
* 应用设置的语言en、zh-Hans、zh-Hant、fr、es
*/
appLanguage?: string,
/**
* 应用设置的语言
* 应用设置的语言
*/
language?: string,
/**
...
...
@@ -36,8 +36,8 @@ export type GetAppBaseInfoResult = {
*/
version?: string,
/**
* 应用资源(wgt)的版本名称。
*
* 应用资源(wgt)的版本名称。
*
* @uniPlatform {
* "app": {
* "android": {
...
...
@@ -55,8 +55,8 @@ export type GetAppBaseInfoResult = {
*/
appWgtVersion?: string,
/**
* 小程序宿主语言
*
* 小程序宿主语言
*
* @uniPlatform {
* "app": {
* "android": {
...
...
@@ -75,7 +75,7 @@ export type GetAppBaseInfoResult = {
hostLanguage?: string,
/**
* App、小程序宿主版本。
*
*
* @uniPlatform {
* "app": {
* "android": {
...
...
@@ -93,8 +93,8 @@ export type GetAppBaseInfoResult = {
*/
hostVersion?: string,
/**
* 小程序宿主名称
*
* 小程序宿主名称
*
* @uniPlatform {
* "app": {
* "android": {
...
...
@@ -112,8 +112,8 @@ export type GetAppBaseInfoResult = {
*/
hostName?: string,
/**
* 小程序宿主包名
*
* 小程序宿主包名
*
* @uniPlatform {
* "app": {
* "android": {
...
...
@@ -131,8 +131,8 @@ export type GetAppBaseInfoResult = {
*/
hostPackageName?: string,
/**
* uni小程序SDK版本、小程序客户端基础库版本
*
* uni小程序SDK版本、小程序客户端基础库版本
*
* @uniPlatform {
* "app": {
* "android": {
...
...
@@ -151,7 +151,7 @@ export type GetAppBaseInfoResult = {
hostSDKVersion?: string,
/**
* 系统当前主题,取值为light或dark。微信小程序全局配置"darkmode":true时才能获取,否则为 undefined (不支持小游戏)
*
*
* @uniPlatform {
* "app": {
* "android": {
...
...
@@ -203,7 +203,7 @@ export type GetAppBaseInfo = (options?: GetAppBaseInfoOptions | null) => GetAppB
export interface Uni {
/**
* GetAppBaseInfo(Object object)
* @description
* @description
* 获取app基本信息
* @param {GetAppBaseInfoOptions} options [options=包含所有字段的过滤对象] 过滤的字段对象, 不传参数默认为获取全部字段。
* @return {object}
...
...
@@ -218,7 +218,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "√",
* "unixVer": "
3.9+
"
* "unixVer": "
x
"
* }
* }
* }
...
...
uni_modules/uni-getDeviceInfo/utssdk/interface.uts
浏览文件 @
80072e8e
...
...
@@ -19,36 +19,36 @@ export type GetDeviceInfoResult = {
*/
deviceId?: string,
/**
* 设备型号
* 设备型号
*/
model?: string,
/**
* 设备型号
* 设备型号
*/
deviceModel?: string,
/**
* 设备类型phone、pad、pc
* 设备类型phone、pad、pc
*/
deviceType?: string,
/**
* 设备方向 竖屏 portrait、横屏 landscape
* 设备方向 竖屏 portrait、横屏 landscape
*/
deviceOrientation?: string,
/**
* 设备像素比
* 设备像素比
*/
devicePixelRatio?: string,
/**
* 操作系统及版本
* 操作系统及版本
*/
system?: string,
/**
* 客户端平台
* 客户端平台
*/
platform?: string,
/**
* oaid标识 Android专有
*
*
* @uniPlatform {
* "app": {
* "android": {
...
...
@@ -75,7 +75,7 @@ export type GetDeviceInfoResult = {
isSimulator?: boolean,
/**
* adb是否开启
*
*
* @uniPlatform {
* "app": {
* "android": {
...
...
@@ -94,7 +94,7 @@ export type GetDeviceInfoResult = {
isUSBDebugging?: boolean,
/**
* idfa标识 iOS专有
*
*
* @uniPlatform {
* "app": {
* "android": {
...
...
@@ -105,7 +105,7 @@ export type GetDeviceInfoResult = {
* "ios": {
* "osVer": "9.0",
* "uniVer": "√",
* "unixVer": "
√
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -126,7 +126,7 @@ export type GetDeviceInfo = (options?: GetDeviceInfoOptions | null) => GetDevice
export interface Uni {
/**
* GetDeviceInfo(Object object)
* @description
* @description
* 获取设备信息
* @param {GetDeviceInfoOptions} options [options=包含所有字段的过滤对象] 过滤的字段对象, 不传参数默认为获取全部字段。
* @return {object}
...
...
@@ -141,7 +141,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "√",
* "unixVer": "
3.9+
"
* "unixVer": "
x
"
* }
* }
* }
...
...
uni_modules/uni-getSystemSetting/utssdk/interface.uts
浏览文件 @
80072e8e
...
...
@@ -34,7 +34,7 @@ export type GetSystemSetting = () => GetSystemSettingResult
export interface Uni {
/**
* GetSystemSetting()
* @description
* @description
* 获取系统设置
* @return {object}
* @tutorial https://uniapp.dcloud.net.cn/api/system/getsystemsetting.html
...
...
@@ -48,7 +48,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "√",
* "unixVer": "
3.9+
"
* "unixVer": "
x
"
* }
* }
* }
...
...
uni_modules/uni-getbatteryinfo/utssdk/interface.uts
浏览文件 @
80072e8e
...
...
@@ -91,7 +91,7 @@ interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "3.6.11",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -118,7 +118,7 @@ interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "3.6.11",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
uni_modules/uni-memorywarning/utssdk/interface.uts
浏览文件 @
80072e8e
...
...
@@ -33,7 +33,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "3.7.7",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -57,7 +57,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "3.7.7",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
uni_modules/uni-network/utssdk/interface.uts
浏览文件 @
80072e8e
...
...
@@ -40,21 +40,21 @@ export type RequestOptions<T> = {
dataType?: string | null,
/**
* 设置响应的数据类型。
*
*
* @deprecated 不支持
* @autodoc false
*/
responseType?: string | null,
/**
* 验证 ssl 证书
*
*
* @deprecated 不支持
* @autodoc false
*/
sslVerify?: boolean | null,
/**
* 跨域请求时是否携带凭证(cookies)
*
*
* @uniPlatform {
* "app": {
* "android": {
...
...
@@ -69,7 +69,7 @@ export type RequestOptions<T> = {
* }
* }
* }
*
*
*/
withCredentials?: boolean | null,
/**
...
...
@@ -121,7 +121,7 @@ export type RequestSuccess<T> = {
* - PUT PUT方法用有效载荷请求替换目标资源的所有当前表示。
* - PATCH PATCH方法用于对资源应用部分修改。
* - DELETE DELETE方法删除指定的资源。
* - HEAD HEAD方法请求一个与GET请求的响应相同的响应,但没有响应体。
* - HEAD HEAD方法请求一个与GET请求的响应相同的响应,但没有响应体。
* - OPTIONS OPTIONS 方法用于描述目标资源的通信选项。
*/
export type RequestMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
...
...
@@ -153,9 +153,9 @@ export type RequestCompleteCallback = (option: any) => void;
export interface RequestTask {
/**
* abort()
* @description
* @description
* 中断网络请求。
* @param {void}
* @param {void}
* @return {void}
* @tutorial https://uniapp.dcloud.net.cn/api/request/request.html#request
* @uniPlatform {
...
...
@@ -168,7 +168,7 @@ export interface RequestTask {
* "ios": {
* "osVer": "9.0",
* "uniVer": "√",
* "unixVer": "
3.9+
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -307,9 +307,9 @@ export type UploadFileProgressUpdateCallback = (result: OnProgressUpdateResult)
export interface UploadTask {
/**
* abort()
* @description
* @description
* 中断上传任务。
* @param {void}
* @param {void}
* @return {void}
* @tutorial https://uniapp.dcloud.net.cn/api/request/network-file.html#uploadfile
* @uniPlatform {
...
...
@@ -338,7 +338,7 @@ export interface UploadTask {
abort(): void,
/**
* onProgressUpdate()
* @description
* @description
* 监听上传进度变化。
* @param {UploadFileProgressUpdateCallback} callback
* @return {void}
...
...
@@ -450,9 +450,9 @@ export type DownloadFileProgressUpdateCallback = (result: OnProgressDownloadResu
export interface DownloadTask {
/**
* abort()
* @description
* @description
* 中断下载任务。
* @param {void}
* @param {void}
* @return {void}
* @tutorial https://uniapp.dcloud.net.cn/api/request/network-file.html#downloadfile
* @uniPlatform {
...
...
@@ -481,7 +481,7 @@ export interface DownloadTask {
abort(): void,
/**
* onProgressUpdate()
* @description
* @description
* 监听下载进度变化。
* @param {DownloadFileProgressUpdateCallback} callback
* @return {void}
...
...
@@ -516,10 +516,10 @@ export interface DownloadTask {
export interface Uni {
/**
* Request()
* @description
* @description
* 发起网络请求。
* @param {RequestOptions} options
* @return {RequestTask | null}
* @return {RequestTask | null}
* @tutorial https://uniapp.dcloud.net.cn/api/request/request.html
* @uniPlatform {
* "app": {
...
...
@@ -531,7 +531,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "√",
* "unixVer": "
3.9+
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -567,7 +567,7 @@ export interface Uni {
request<T>(param: RequestOptions<T>): RequestTask | null;
/**
* UploadFile()
* @description
* @description
* 将本地资源上传到开发者服务器。
* @param {UploadFileOptions} options
* @return {UploadTask | null}
...
...
@@ -604,7 +604,7 @@ export interface Uni {
uploadFile(options: UploadFileOptions): UploadTask | null;
/**
* DownloadFile()
* @description
* @description
* 下载文件资源到本地,客户端直接发起一个 HTTP GET 请求,返回文件的本地临时路径。
* @param {DownloadFileOptions} options
* @return {DownloadTask | null}
...
...
uni_modules/uni-prompt/utssdk/interface.uts
浏览文件 @
80072e8e
...
...
@@ -63,9 +63,9 @@ export type ShowToastOptions = {
/**
* uni.showToast函数定义
* 弹出toast
*
* @param {ShowToastOptions} options
* 弹出toast
*
* @param {ShowToastOptions} options
* @tutorial https://uniapp.dcloud.net.cn/api/ui/prompt.html#showtoast
* @uniPlatform {
* "app": {
...
...
@@ -77,7 +77,7 @@ export type ShowToastOptions = {
* "ios": {
* "osVer": "9.0",
* "uniVer": "√",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -87,7 +87,7 @@ export type ShowToast = (options: ShowToastOptions) => void
/**
* uni.hideToast函数定义
* 隐藏toast
*
*
* @tutorial https://uniapp.dcloud.net.cn/api/ui/prompt.html#hidetoast
* @uniPlatform {
* "app": {
...
...
@@ -99,7 +99,7 @@ export type ShowToast = (options: ShowToastOptions) => void
* "ios": {
* "osVer": "9.0",
* "uniVer": "√",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -155,8 +155,8 @@ export type ShowLoadingOptions = {
/**
* uni.showLoading函数定义
* 弹出loading
*
* @param {ShowLoadingOptions} options
*
* @param {ShowLoadingOptions} options
* @tutorial https://uniapp.dcloud.net.cn/api/ui/prompt.html#showloading
* @uniPlatform {
* "app": {
...
...
@@ -168,7 +168,7 @@ export type ShowLoadingOptions = {
* "ios": {
* "osVer": "9.0",
* "uniVer": "√",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -178,7 +178,7 @@ export type ShowLoading = (options: ShowLoadingOptions) => void
/**
* uni.hideLoading函数定义
* 隐藏loading
*
*
* @tutorial https://uniapp.dcloud.net.cn/api/ui/prompt.html#hideloading
* @uniPlatform {
* "app": {
...
...
@@ -190,11 +190,11 @@ export type ShowLoading = (options: ShowLoadingOptions) => void
* "ios": {
* "osVer": "9.0",
* "uniVer": "√",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
*
*
*/
export type HideLoading = () => void
...
...
@@ -286,10 +286,10 @@ export type ShowModalOptions = {
/**
* uni.showModal 函数定义
*
*
* 弹出modal
*
* @param {ShowModalOptions} options
*
* @param {ShowModalOptions} options
* @tutorial https://uniapp.dcloud.net.cn/api/ui/prompt.html#showmodal
* @uniPlatform {
* "app": {
...
...
@@ -301,7 +301,7 @@ export type ShowModalOptions = {
* "ios": {
* "osVer": "9.0",
* "uniVer": "√",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -390,10 +390,10 @@ export type ShowActionSheetOptions = {
/**
* uni.showActionSheet函数定义
*
*
* 弹出actionSheet
*
* @param {ShowActionSheetOptions} options
*
* @param {ShowActionSheetOptions} options
* @tutorial https://uniapp.dcloud.net.cn/api/ui/prompt.html#showactionsheet
* @uniPlatform {
* "app": {
...
...
@@ -405,7 +405,7 @@ export type ShowActionSheetOptions = {
* "ios": {
* "osVer": "9.0",
* "uniVer": "√",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -438,7 +438,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "√",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -461,7 +461,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "√",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -490,7 +490,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "√",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -520,7 +520,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "√",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -556,7 +556,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "√",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -588,7 +588,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "√",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
uni_modules/uni-storage/utssdk/interface.uts
浏览文件 @
80072e8e
...
...
@@ -244,9 +244,9 @@ export type ClearStorageSync = () => void
export interface Uni {
/**
* uni.setStorage函数定义
* 将数据存储在本地storage存储中指定的 key 中,会覆盖掉原来该 key 对应的内容,这是一个异步接口。
*
* @param {SetStorageOptions} options
* 将数据存储在本地storage存储中指定的 key 中,会覆盖掉原来该 key 对应的内容,这是一个异步接口。
*
* @param {SetStorageOptions} options
* @tutorial https://uniapp.dcloud.net.cn/api/storage/storage.html#setstorage
* @uniPlatform {
* "app": {
...
...
@@ -258,7 +258,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "2.0.3",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -269,7 +269,7 @@ export interface Uni {
/**
* uni.setStorageSync函数定义
* 将 data 存储在本地storage存储中指定的 key 中,会覆盖掉原来该 key 对应的内容,这是一个同步接口。
*
*
* @param {string} key 本地storage存储中的指定的 key
* @param {any} data 需要存储的内容,只支持原生类型、及能够通过 JSON.stringify 序列化的对象
* @tutorial https://uniapp.dcloud.net.cn/api/storage/storage.html#setstoragesync
...
...
@@ -283,7 +283,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "2.0.3",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -294,20 +294,20 @@ export interface Uni {
/**
* uni.getStorage函数定义
* 从本地存储中异步获取指定 key 对应的内容。
*
* @param {GetStorageOptions} options
*
* @param {GetStorageOptions} options
* @tutorial https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorage
* @uniPlatform {
* "app": {
* "android": {
* "osVer": "4.4.4",
* "uniVer": "2.0.3",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* },
* "ios": {
* "osVer": "9.0",
* "uniVer": "2.0.3",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -318,7 +318,7 @@ export interface Uni {
/**
* uni.getStorageSync函数定义
* 从本地存储中同步获取指定 key 对应的内容。
*
*
* @param {string} key 本地存储中的指定的 key
* @tutorial https://uniapp.dcloud.net.cn/api/storage/storage.html#getstoragesync
* @uniPlatform {
...
...
@@ -331,7 +331,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "2.0.3",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -342,8 +342,8 @@ export interface Uni {
/**
* uni.getStorageInfo函数定义
* 异步获取当前 storage 的相关信息。
*
* @param {GetStorageInfoOptions} options
*
* @param {GetStorageInfoOptions} options
* @tutorial https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorageinfo
* @uniPlatform {
* "app": {
...
...
@@ -355,7 +355,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "2.0.3",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -366,10 +366,10 @@ export interface Uni {
/**
* uni.getStorageInfoSync函数定义
* 同步获取当前 storage 的相关信息。
*
*
*
*
* @tutorial https://uniapp.dcloud.net.cn/api/storage/storage.html#getstorageinfosync
*
*
* @uniPlatform {
* "app": {
* "android": {
...
...
@@ -380,7 +380,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "2.0.3",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -391,11 +391,11 @@ export interface Uni {
/**
* uni.removeStorage函数定义
* 从本地存储中异步移除指定 key。
*
* @param {RemoveStorageOptions} options
*
*
* @param {RemoveStorageOptions} options
*
* @tutorial hhttps://uniapp.dcloud.net.cn/api/storage/storage.html#removestorage
*
*
* @uniPlatform {
* "app": {
* "android": {
...
...
@@ -406,7 +406,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "2.0.3",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -417,11 +417,11 @@ export interface Uni {
/**
* uni.removeStorageSync函数定义
* 从本地存储中同步移除指定 key。
*
*
* @param {string} key 本地存储中的指定的 key
*
*
* @tutorial https://uniapp.dcloud.net.cn/api/storage/storage.html#removestoragesync
*
*
* @uniPlatform {
* "app": {
* "android": {
...
...
@@ -432,7 +432,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "2.0.3",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -443,9 +443,9 @@ export interface Uni {
/**
* uni.clearStorage函数定义
* 清除本地数据存储。
*
*
* @tutorial https://uniapp.dcloud.net.cn/api/storage/storage.html#clearstorage
*
*
* @uniPlatform {
* "app": {
* "android": {
...
...
@@ -456,7 +456,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "2.0.3",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -467,9 +467,9 @@ export interface Uni {
/**
* uni.clearStorageSync函数定义
* 清除本地数据存储。
*
*
* @tutorial https://uniapp.dcloud.net.cn/api/storage/storage.html#clearstoragesync
*
*
* @uniPlatform {
* "app": {
* "android": {
...
...
@@ -480,7 +480,7 @@ export interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "2.0.3",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
uni_modules/uni-usercapturescreen/index.d.ts
浏览文件 @
80072e8e
...
...
@@ -98,7 +98,7 @@ declare interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "3.7.7",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -122,7 +122,7 @@ declare interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "3.7.7",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -146,7 +146,7 @@ declare interface Uni {
* "ios": {
* "osVer": "13.0",
* "uniVer": "3.7.7",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -154,4 +154,4 @@ declare interface Uni {
* @uniVueVersion 2,3 //支持的vue版本
*/
setUserCaptureScreen
(
options
:
UniNamespace
.
SetUserCaptureScreenOptions
)
:
void
}
\ No newline at end of file
}
uni_modules/uni-wifi/utssdk/interface.uts
浏览文件 @
80072e8e
...
...
@@ -122,7 +122,7 @@ interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "3.7.7",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -141,12 +141,12 @@ interface Uni {
* "android": {
* "osVer": "4.4.4",
* "uniVer": "3.7.0",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* },
* "ios": {
* "osVer": "9.0",
* "uniVer": "3.7.7",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -168,7 +168,7 @@ interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "3.7.7",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -209,7 +209,7 @@ interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "3.7.7",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -233,7 +233,7 @@ interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "3.7.7",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -273,7 +273,7 @@ interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "3.7.7",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -297,7 +297,7 @@ interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "3.7.7",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -321,7 +321,7 @@ interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "3.7.7",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -345,7 +345,7 @@ interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "3.7.7",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
@@ -369,7 +369,7 @@ interface Uni {
* "ios": {
* "osVer": "9.0",
* "uniVer": "3.7.7",
* "unixVer": "
3.9.0
"
* "unixVer": "
x
"
* }
* }
* }
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录