武田小程序
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.

25 lines
482 B

const app = getApp<IAppOption>();
Page({
data: {
isf: 0,
codeUrl: "",
},
onLoad(options) {
app.waitLogin(true).then(() => {
const { url, loginState } = app.globalData;
this.setData({
isf: Number(options.isf),
codeUrl: `${url}?r=takeda/common/get-channel-wx-code&ChannelType=1&loginState=${loginState}`,
});
});
},
handleBack() {
wx.redirectTo({
url: "/module1/pages/setInfo/index",
});
},
});
export {};