刷新饼图
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user