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.
36 lines
594 B
36 lines
594 B
const app = getApp<IAppOption>(); |
|
|
|
Page({ |
|
data: { |
|
isf: 0, |
|
codeUrl: "", |
|
}, |
|
onLoad(options) { |
|
app.waitLogin(true).then(() => { |
|
this.getCodeUrl(); |
|
this.setData({ |
|
isf: Number(options.isf), |
|
}); |
|
}); |
|
}, |
|
handleBack() { |
|
wx.redirectTo({ |
|
url: "/module1/pages/setInfo/index", |
|
}); |
|
}, |
|
getCodeUrl() { |
|
wx.ajax({ |
|
method: "GET", |
|
url: "?r=takeda/common/get-channel-wx-code", |
|
data: { |
|
ChannelType: 1, |
|
}, |
|
}).then((res) => { |
|
this.setData({ |
|
codeUrl: res, |
|
}); |
|
}); |
|
}, |
|
}); |
|
|
|
export {};
|
|
|