feat(功能用例): 脑图优化
This commit is contained in:
parent
aa3392945c
commit
8e2c51c1f7
|
@ -1088,7 +1088,7 @@
|
|||
Message.success(t('common.saveSuccess'));
|
||||
resetMinderParams();
|
||||
emit('save');
|
||||
callback(true);
|
||||
callback(false);
|
||||
} catch (error) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(error);
|
||||
|
|
|
@ -382,12 +382,12 @@ export default function useMinderBaseApi({ hasEditPermission }: { hasEditPermiss
|
|||
insertSpecifyNode('AppendChildNode', stepExpectTag);
|
||||
window.minder.selectById(nodeId);
|
||||
insertSpecifyNode('AppendChildNode', remarkTag);
|
||||
nextTick(() => {
|
||||
setTimeout(() => {
|
||||
// 取消选中备注节点,选中用例节点
|
||||
const remarkNode: MinderJsonNode = window.minder.getSelectedNode();
|
||||
window.minder.toggleSelect(remarkNode);
|
||||
window.minder.selectById(nodeId);
|
||||
});
|
||||
}, 0);
|
||||
});
|
||||
} else if (value === stepTag) {
|
||||
// 步骤描述节点插入后,插入子节点
|
||||
|
|
Loading…
Reference in New Issue