合同小程序前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
195 B

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