From c6c73b7d709322052b9cd6777b3d6657e0d43d30 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期六, 07 九月 2024 14:37:32 +0800 Subject: [PATCH] bug --- packageBookService/pages/bookServices/examination/examination.js | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/examination.js b/packageBookService/pages/bookServices/examination/examination.js index 3579fe6..2c9ab29 100644 --- a/packageBookService/pages/bookServices/examination/examination.js +++ b/packageBookService/pages/bookServices/examination/examination.js @@ -85,13 +85,21 @@ mockid: options.mockid, }); } + const token = wx.getStorageSync(app.config.tokenKey) + if (!token) { loginInfo(app, (data) => { - if (data) {} else {} + if (data) { + this.init(); + } else { + this.init(); + } }) + } else { + this.init() } - this.init(); + }, /** -- Gitblit v1.9.1