👽️ 新增openSystemBrowser回调处理

This commit is contained in:
目棃
2024-10-03 11:00:01 +08:00
parent ec5bed582f
commit eb96f548ea
2 changed files with 33 additions and 4 deletions

View File

@@ -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