@ -35,8 +35,9 @@ export default defineComponent({
const { getProcessState, processVariables } = useProcessState()
const initData = () => {
taskStateRef.value = getTaskState(dateRef.value)
processStateRef.value = getProcessState(dateRef.value)
taskStateRef.value = getTaskState(dateRef.value) || taskStateRef.value
processStateRef.value =
getProcessState(dateRef.value) || processStateRef.value
}
const handleTaskDate = (val: any) => {