刷新饼图

This commit is contained in:
sjl
2025-01-13 21:06:24 +08:00
parent 8b9abba74b
commit 1f3024eb91
9 changed files with 69 additions and 66 deletions

View File

@@ -302,6 +302,8 @@ const handleSubmit = () => {
sendReCheck()
}else if (TestStatus.value == 'success') {
emit('quitClicked'); // 触发事件
}
break;
default:
@@ -312,6 +314,10 @@ const handleSubmit = () => {
};
const emit = defineEmits<{
(e: 'quitClicked'): void;
}>();
watch(preTestStatus, function (newValue, oldValue) {
console.log(newValue, oldValue);
@@ -481,6 +487,7 @@ const beforeClose = (done: () => void) => {
// })
}
const handleCancel = () => {
emit('quitClicked'); // 触发事件
// clearData()
// emit('update:visible', false); // 关闭对话框
testRef.value?.clear()