fix(通用功能): 修复模块节点搜索不能展开全部搜索的节点问题

--bug=1036029 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001036029
This commit is contained in:
guoyuqi 2024-03-07 15:55:37 +08:00 committed by Craftsman
parent 240cf0581d
commit 7fc07e0239
2 changed files with 2 additions and 1 deletions

View File

@ -228,7 +228,7 @@
}
}
});
expandedKeys.value = result.map((item) => item[props.fieldNames.key]); //
result.forEach((item) => expandedKeys.value.push(item[props.fieldNames.key])); //
return result;
};

View File

@ -20,6 +20,7 @@
:modules-count="modulesCount"
@folder-node-select="handleFolderNodeSelect"
@init="initModuleTree"
:is-expand-all=true
/>
</div>
</template>