Commit 530e0507 by luyt

feat:去掉登陆提示

1 parent 82ee14d0
......@@ -199,23 +199,23 @@ Component({
const { data, code, message } = await USERAPI.wxCodeLogin();
if (code == "0") {
this.loginToken = data;
} else this.reLogin(message);
}
wx.hideLoading();
} catch ({ errMsg }) {
console.error(errMsg);
this.reLogin();
// this.reLogin();
}
},
/**获取loginToken */
reLogin(message) {
wx.showModal({
content: message || "获取loginToken失败",
confirmText: "重试",
confirmColor: "#3666FE",
}).then(({ confirm }) => {
if (confirm) this.init();
});
},
// reLogin(message) {
// wx.showModal({
// content: message || "获取loginToken失败",
// confirmText: "重试",
// confirmColor: "#3666FE",
// }).then(({ confirm }) => {
// if (confirm) this.init();
// });
// },
// 视频下载
downVideo(e) {
let { url } = e.target.dataset;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!