This commit is contained in:
sjl
2025-09-25 08:51:40 +08:00
parent 5ccd1709a5
commit 21c859c8f1
4 changed files with 19 additions and 15 deletions

View File

@@ -42,6 +42,7 @@
<SelectTestItemPopup ref="selectTestItemPopupRef" @openTestDialog="openTestDialog"></SelectTestItemPopup>
<CompareTestPopup
ref="testPopup"
:key="compareTestKey"
v-if="CompareTestVisible"
:devIdList="devIdList"
:pqStandardDevList="pqStandardDevList"
@@ -70,7 +71,7 @@ const dialogVisible = ref(false)
const selectTestItemPopupRef = ref<InstanceType<typeof SelectTestItemPopup>>()
const testPopup = ref()
const dialogTitle = ref('手动检测')
const compareTestKey = ref(0)
// 计算对话框高度
const dialogHeight = ref(600)
const CompareTestVisible = ref(false)
@@ -266,6 +267,7 @@ const handleNext = async () => {
}
const openTestDialog = async () => {
compareTestKey.value++ // 每次调用时更新key
CompareTestVisible.value = true
// 转换连接信息只保留设备ID和通道号
const connections = edges.value.reduce(