实时数据对齐
This commit is contained in:
@@ -33,6 +33,8 @@ import {useCheckStore} from "@/stores/modules/check";
|
||||
import type {CheckData} from "@/api/check/interface";
|
||||
import {ElMessageBox} from "element-plus";
|
||||
import {useAppSceneStore,useModeStore} from "@/stores/modules/mode";
|
||||
|
||||
|
||||
const AppSceneStore = useAppSceneStore()
|
||||
const emit = defineEmits(['openTestDialog'])
|
||||
const checkStore = useCheckStore();
|
||||
@@ -66,7 +68,7 @@ const resetFormContent = () => {
|
||||
Object.assign(formContent, {preTest: !hasResult, channelsTest: false, timeTest: false, test: hasResult})
|
||||
}
|
||||
|
||||
const handleStart = () => {
|
||||
const handleStart = async () => {
|
||||
let count = 0
|
||||
for (let key in formContent) {
|
||||
if (formContent[key]) {
|
||||
@@ -100,6 +102,9 @@ const handleStart = () => {
|
||||
}
|
||||
checkStore.setCheckType(0)
|
||||
checkStore.setSelectTestItems({...formContent})
|
||||
|
||||
|
||||
|
||||
handleClose()
|
||||
|
||||
emit('openTestDialog',checkStore.selectTestItems.test)
|
||||
|
||||
Reference in New Issue
Block a user