This commit is contained in:
2025-08-21 11:23:54 +08:00
commit abf7f3c799
530 changed files with 60239 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
// @ts-nocheck
// #ifndef UNI-APP-X && APP
// export * from './vue.ts'
export { getCurrentPage } from './vue.ts'
// #endif
// #ifdef UNI-APP-X && APP
// export * from './uvue.uts'
export { getCurrentPage } from './uvue.uts'
// #endif

View File

@@ -0,0 +1,5 @@
// @ts-nocheck
export const getCurrentPage = ():Page => {
const pages = getCurrentPages();
return pages[pages.length - 1]
};

View File

@@ -0,0 +1,6 @@
// @ts-nocheck
/** 获取当前页 */
export const getCurrentPage = () => {
const pages = getCurrentPages();
return pages[pages.length - 1] //as T & WechatMiniprogram.Page.TrivialInstance;
};