From ea3fb7a2d5841cf03d87c3e52f327fb0bb9553a5 Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期四, 31 七月 2025 15:22:02 +0800 Subject: [PATCH] 去掉首页教师认证、修改样书申请登录申请登录位置 --- packageBookService/pages/bookServices/detail/buyResource/index.js | 16 +--------------- 1 files changed, 1 insertions(+), 15 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/buyResource/index.js b/packageBookService/pages/bookServices/detail/buyResource/index.js index 423f6e6..d1586c8 100644 --- a/packageBookService/pages/bookServices/detail/buyResource/index.js +++ b/packageBookService/pages/bookServices/detail/buyResource/index.js @@ -222,20 +222,6 @@ // const index = data.findIndex(i => i.id == parent.id) parent.isShowIcon = true } - // else { - // // 鐖剁骇娌℃湁閿�鍞柟寮忥紝鏌ユ壘璇ヨ祫婧愮埗绾� - // const arr = parent.productLinkPath.split('\\') - // const linkData = arr[arr.length - 1] // arr[arr.length - 1] 鎺掗櫎鑷繁 - // linkData.reverse() - // const dataList = linkData.map(ritem => { - // const parentData = data.find(citem => citem.id == ritem); - // if (parentData) return parentData; - // }) - // if (dataList?.length > 0) { - // const index = data.findIndex(i => i.id == dataList[0].id) - // data[index].isShowIcon = true - // } - // } } else { item.isShowIcon = true } @@ -598,7 +584,7 @@ // 鍗曚釜鍕鹃�夋柟娉� checkResoucrceInfo(tree, id) { function findAndUpdate(node) { - if (node.sysType == "CmsFolder" && node.children.length > 0) { + if (node.sysType == "CmsFolder" && node.children?.length > 0) { for (let index = 0; index < node.children.length; index++) { const element = node.children[index]; findAndUpdate(element); -- Gitblit v1.9.1