闫增涛
2025-03-31 04c7b0163caeae4ab1c5da62e301fa993101cfad
packageBookService/pages/bookServices/detail/components/testResource/testResource.js
@@ -148,15 +148,6 @@
      }
    },
    goMycollect(e) {
      const answertype = e.currentTarget.dataset.answertype;
      const token = wx.getStorageSync("jsek-token");
      if (token) {
        gotoPage()
      } else {
        loginInfo(app, (data) => {
          if (data) gotoPage()
        })
      }
      const gotoPage = () => {
        wx.navigateTo({
          url: `/packageBookService/pages/bookServices/examination/examination?bookId=${
@@ -166,6 +157,16 @@
          }&answerType=${answertype}`,
        });
      }
      const answertype = e.currentTarget.dataset.answertype;
      const token = wx.getStorageSync("jsek-token");
      if (token) {
        gotoPage()
      } else {
        loginInfo(app, (data) => {
          if (data) {}
        })
      }
    },
    // 练习 组件切换
    onRadioChange(e) {