fix: --bug=1003290 --user=陈建星 脑图火狐兼容性问题 https://www.tapd.cn/55049933/s/1052296

This commit is contained in:
chenjianxing 2021-09-27 13:51:28 +08:00 committed by jianxing
parent cb9bb38b3a
commit 54039fe059
2 changed files with 4 additions and 0 deletions

View File

@ -71,6 +71,7 @@ export function loadNode(node, param, getCaseFuc, setParamCallback, getExtraNode
} }
} }
data.loaded = true; data.loaded = true;
window.minder.execCommand('expand');
} }
/** /**

View File

@ -529,6 +529,9 @@ export function getCustomFieldBatchEditOption(customFields, typeArr, valueArr, m
export function handleRowDrop(data, callback) { export function handleRowDrop(data, callback) {
setTimeout(() => { setTimeout(() => {
const tbody = document.querySelector('.el-table__body-wrapper tbody'); const tbody = document.querySelector('.el-table__body-wrapper tbody');
if (!tbody) {
return;
}
const dropBars = tbody.getElementsByClassName('table-row-drop-bar'); const dropBars = tbody.getElementsByClassName('table-row-drop-bar');
// 每次调用生成一个class // 每次调用生成一个class