mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
👽️ 新增openSystemBrowser回调处理
This commit is contained in:
15
src/types/Plugins/JSBridge.d.ts
vendored
15
src/types/Plugins/JSBridge.d.ts
vendored
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* @file types/Plugins/JSBridge.d.ts
|
||||
* @description JSBridge 插件相关类型定义文件
|
||||
* @since Beta v0.3.9
|
||||
* @since Beta v0.6.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* @description JSBridge 插件相关类型命名
|
||||
* @since Beta v0.3.9
|
||||
* @since Beta v0.6.0
|
||||
* @namespace TGApp.Plugins.JSBridge
|
||||
* @memberof TGApp.Plugins
|
||||
*/
|
||||
@@ -173,6 +173,17 @@ declare namespace TGApp.Plugins.JSBridge {
|
||||
gameCenterId: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description 打开系统浏览器
|
||||
* @since Beta v0.6.0
|
||||
* @interface OpenSystemBrowserPayload
|
||||
* @property {string} open_url - 打开的链接
|
||||
* @return OpenSystemBrowserPayload
|
||||
*/
|
||||
interface OpenSystemBrowserPayload {
|
||||
open_url: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description pushPage 方法参数
|
||||
* @since Beta v0.3.9
|
||||
|
||||
Reference in New Issue
Block a user