Files

60 lines
987 B
TypeScript
Raw Permalink Normal View History

2025-11-28 16:49:36 +08:00
// pages/index/index.ts
import { Subscribe } from "@/utils/subscribe";
// const app = getApp();
// const Storage = app.Storage;
Page({
/**
*
*/
data: {},
change() {
Subscribe.set("isLogin", "zzzuz");
// wx.navigateTo({ url: "/pages/my/my" });
},
navToMy() {
wx.navigateTo({ url: "/pages/my/my" });
},
/**
* --
*/
onLoad() {},
/**
* --
*/
onReady() {},
/**
* --
*/
onShow() {},
/**
* --
*/
onHide() {},
/**
* --
*/
onUnload() {},
/**
* --
*/
onPullDownRefresh() {},
/**
*
*/
onReachBottom() {},
/**
*
*/
onShareAppMessage() {},
});