|
@@ -19,8 +19,13 @@ const getBorderClass = computed(() => {
|
|
|
watch(
|
|
|
() => currentProcess.value,
|
|
|
() => {
|
|
|
+ if (currentProcess.value == null) {
|
|
|
+ selectStatus.value = false;
|
|
|
+ return;
|
|
|
+ }
|
|
|
selectStatus.value = props.id == currentProcess.value.id;
|
|
|
- }
|
|
|
+ },
|
|
|
+ { deep: true }
|
|
|
);
|
|
|
watch(
|
|
|
() => selectNode.value,
|
|
@@ -30,7 +35,8 @@ watch(
|
|
|
return;
|
|
|
}
|
|
|
selectStatus.value = props.id == selectNode.value.id;
|
|
|
- }
|
|
|
+ },
|
|
|
+ { deep: true }
|
|
|
);
|
|
|
</script>
|
|
|
|