feat: 修复登录逻辑
This commit is contained in:
+10
-8
@@ -233,14 +233,16 @@ Page({
|
||||
this.setData({ view: 'about' });
|
||||
},
|
||||
|
||||
goToAgreement() {
|
||||
// TODO: Navigate to agreement page or show inline
|
||||
wx.showToast({ title: '功能开发中', icon: 'none' });
|
||||
},
|
||||
|
||||
goToPrivacy() {
|
||||
// TODO: Navigate to privacy page or show inline
|
||||
wx.showToast({ title: '功能开发中', icon: 'none' });
|
||||
openDoc(e) {
|
||||
if (wx.openPrivacyContract) {
|
||||
wx.openPrivacyContract({
|
||||
fail: () => {
|
||||
wx.showToast({ title: '无法打开协议', icon: 'none' });
|
||||
}
|
||||
});
|
||||
} else {
|
||||
wx.showToast({ title: '当前微信版本不支持查看', icon: 'none' });
|
||||
}
|
||||
},
|
||||
|
||||
// ======== Profile Editor Popup ========
|
||||
|
||||
Reference in New Issue
Block a user