mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-28 20:41:56 +08:00
// 检查元素是否已经有 children 字段,如果没有则添加 children 空数组字段
// 避免后面的代码中 parentObj[config.childrenList] 出现 undefined 的情况
if (!d[config.childrenList]) {
d[config.childrenList] = [];
}
Signed-off-by: D哥 <12271764+darrenteng@user.noreply.gitee.com>