闫增涛
2024-07-12 4ff508548b71346c97ef563b3dd5ba9291afe342
packageBookService/pages/bookServices/detail/index.js
@@ -893,7 +893,7 @@
        size: 999
      },
    }
    app.MG.store.getProductDetail(query).then((res) => {
    app.MG.store.getProductDetailNoChildren(query).then((res) => {
      if (!res.datas.cmsDatas[0].datas.length) {
        return this.setData({
          noResources: true,
@@ -1143,7 +1143,7 @@
      for (let i = 0; i < data.length; i++) {
        if (index < 3) {
          const item = data[i]
          if (item.childrenFolderCount > 0) {
          if (item.children && item.children.length > 0) {
            result.push(item.id)
            if (item.children) {
              for (let j = 0; j < item.children.length; j++) {