🐛 修复分享功能异常

This commit is contained in:
目棃
2024-07-27 14:14:04 +08:00
parent 8f116c954f
commit d22203e7b4
10 changed files with 5873 additions and 5732 deletions

19
src/vite-env.d.ts vendored
View File

@@ -1,10 +1,12 @@
/**
* @file vite-env.d.ts
* @description vite-env.d.ts
* @author BTMuli<bt-muli@outlook.com>
* @since Beta v0.3.3
* @description 全局类型定义文件
* @since Beta v0.5.1
*/
/**
* @description vue 文件类型声明
*/
declare module "*.vue" {
import type { DefineComponent } from "vue";
const component: DefineComponent<object, object, any>;
@@ -48,3 +50,14 @@ interface ImportMetaEnv {
declare interface ImportMeta {
readonly env: ImportMetaEnv;
}
/**
* @description 极验验证的请求方法-请求参数
* @param {TGApp.BBS.Geetest.InitGeetestParams} params
* @param {(captchaObj: TGApp.BBS.Geetest.GeetestCaptcha) => void} callback
* @return void
*/
declare function initGeetest(
params: TGApp.Plugins.Mys.Geetest.InitGeetestParams,
callback: (captchaObj: TGApp.Plugins.Mys.Geetest.GeetestCaptcha) => void,
): void;