预检测不显示温度框

This commit is contained in:
sjl
2025-06-04 16:38:02 +08:00
parent 15f2c1ee41
commit bc0de34c15
2 changed files with 11 additions and 5 deletions

View File

@@ -1023,7 +1023,7 @@ const handleTest = async (val: string) => {
if(appSceneStore.currentScene === '0'){
writeTHPopupRef.value?.open()
}else{
openTestDialog()
openTestDialog(true)
}
})
.catch((action: Action) => {
@@ -1034,13 +1034,13 @@ const handleTest = async (val: string) => {
if (appSceneStore.currentScene === '0') {
writeTHPopupRef.value?.open()
} else {
openTestDialog()
openTestDialog(true)
}
}
})
checkStore.setSelectTestItems({preTest: false, timeTest: false, channelsTest: false, test: true})
} else {
openTestDialog()
openTestDialog(true)
}
}
}
@@ -1084,15 +1084,20 @@ const handleTest = async (val: string) => {
}
}
const openTestDialog = () => {
const openTestDialog = (testData:any) => {
if (appSceneStore.currentScene === '0') {
writeTHPopupRef.value?.open()
if(testData)
writeTHPopupRef.value?.open()
else
testPopup.value?.open(dialogTitle.value)
} else {
testPopup.value?.open(dialogTitle.value)
}
}
const openTestDialog2 = () => {
testPopup.value?.open(dialogTitle.value)
}