提交 80072e8e 编写于 作者: lizhongyi_'s avatar lizhongyi_

调整api iOS平台 unixVer

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