QYF-GitLab1
4 天以前 b55024ee2f42aa93e0ecaa3113bdeb286f6e59ac
packageBookService/pages/bookServices/detail/components/testResource/testResource.js
@@ -82,10 +82,10 @@
          },
        });
      }
      // if (!this.data.isBuyBank) return wx.showToast({
      //   icon: 'error',
      //   title: '请先购买题库',
      // })
      if (!this.data.isBuyBank) return wx.showToast({
        icon: 'error',
        title: '请先购买题库',
      })
      wx.showLoading({
        title: "加载中",
      });
@@ -130,11 +130,9 @@
      wx.hideLoading();
      if (value.refCode == "psychology") {
        const listName = value.name
        const listId = value.id
        wx.navigateTo({
          url: `/packageBookService/pages/psychologyAnswer/psychologyAnswer?listName=${
            listName
        }&listId=${listId}`
            listName}`
        })
      } else {
        wx.navigateTo({
@@ -144,7 +142,7 @@
            this.properties.bookInfo.rootCmsItemId
          }&idPathList=${JSON.stringify(idPathList)}&answerTitle=${
            value.name
          }&answerType=option&storeInfo=${this.properties.storeInfo}&jslx=${this.properties.jslx}`,
          }&answerType=${value.refCode || 'option'}&storeInfo=${this.properties.storeInfo}&jslx=${this.properties.jslx}`,
        });
      }
    },