From 54039fe059258020136295aa6e39e0b405e2e630 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Mon, 27 Sep 2021 13:51:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20--bug=3D1003290=20--user=3D=E9=99=88?= =?UTF-8?q?=E5=BB=BA=E6=98=9F=20=E8=84=91=E5=9B=BE=E7=81=AB=E7=8B=90?= =?UTF-8?q?=E5=85=BC=E5=AE=B9=E6=80=A7=E9=97=AE=E9=A2=98=20https://www.tap?= =?UTF-8?q?d.cn/55049933/s/1052296?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/business/components/track/common/minder/minderUtils.js | 1 + frontend/src/common/js/tableUtils.js | 3 +++ 2 files changed, 4 insertions(+) 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