diff --git a/frontend/src/business/components/track/common/minder/minderUtils.js b/frontend/src/business/components/track/common/minder/minderUtils.js index be8beefc2f..2ad04ad496 100644 --- a/frontend/src/business/components/track/common/minder/minderUtils.js +++ b/frontend/src/business/components/track/common/minder/minderUtils.js @@ -71,6 +71,7 @@ export function loadNode(node, param, getCaseFuc, setParamCallback, getExtraNode } } data.loaded = true; + window.minder.execCommand('expand'); } /** diff --git a/frontend/src/common/js/tableUtils.js b/frontend/src/common/js/tableUtils.js index 8312bfeb75..8cf4ce2892 100644 --- a/frontend/src/common/js/tableUtils.js +++ b/frontend/src/common/js/tableUtils.js @@ -529,6 +529,9 @@ export function getCustomFieldBatchEditOption(customFields, typeArr, valueArr, m export function handleRowDrop(data, callback) { setTimeout(() => { const tbody = document.querySelector('.el-table__body-wrapper tbody'); + if (!tbody) { + return; + } const dropBars = tbody.getElementsByClassName('table-row-drop-bar'); // 每次调用生成一个class