This commit is contained in:
joylink_zhaoerwei 2024-02-27 10:08:56 +08:00
parent 508afb9954
commit 2dd7c48786

View File

@ -123,7 +123,7 @@ export default {
}, {}); }, {});
getPaperDetail(row.id).then((res) => { getPaperDetail(row.id).then((res) => {
if (res.data.moduleVo) { if (res.data.moduleVo) {
this.taskTreeDatas = res.data.moduleVo.map(moduleItem=>{ this.taskTreeDatas = res.data.moduleVo.modules.map(moduleItem=>{
let children = []; let children = [];
if (moduleItem.group.length) { if (moduleItem.group.length) {
children = moduleItem.group.map(taskCatalog=> this.transformTree(taskCatalog)); children = moduleItem.group.map(taskCatalog=> this.transformTree(taskCatalog));