fix:【BPM 工作流】流程预测时,“查看子流程”按钮不支持点击

This commit is contained in:
YunaiV
2025-07-22 19:09:10 +08:00
parent 8ef499d717
commit 2a06f6744d
3 changed files with 13 additions and 3 deletions

View File

@@ -269,7 +269,8 @@ watch(
if (!val || selectedComponentIndex.value === -1) {
return
}
// 如果是基础设置页,默认选中的索引改成-1为了防止删除组件后切换到此页导致报错
// 如果是基础设置页,默认选中的索引改成 -1为了防止删除组件后切换到此页导致报错
// https://gitee.com/yudaocode/yudao-ui-admin-vue3/pulls/792
if (props.showTabBar) {
selectedComponentIndex.value = -1
}