Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法通过打字稿来获取当前页面与其兄弟姐妹相关的索引?
有点类似我们通过 register:count_HMENU_MENUOBJ 获取子页面数量的方式?
我想我找到了自己问题的答案。如果有更好的请告诉我
lib.pagesiblingcount = TEXT lib.pagesiblingcount { numRows.table = pages numRows.select.pidInList.data= field: pid numRows.select.orderBy = sorting numRows.select.andWhere.dataWrap = sorting<={page:sorting} }