dev #1

Merged
caoxiaozhu merged 8 commits from dev into main 2026-07-14 11:26:14 +08:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 66eac77c96 - Show all commits

View File

@@ -48,7 +48,7 @@ const WIZARD_STEPS = [
const currentStep = ref(0)
const currentStepId = computed<StepId>(() => WIZARD_STEPS[currentStep.value]?.id ?? 'create')
const task = reactive({ name: '', description: '' })
const processType = ref<ProcessType>('unstructured')
const processType = ref<ProcessType>('structured')
const structuredOptions = ref<StructuredProcessOptions>(createDefaultStructuredOptions())
const unstructuredOptions = ref<UnstructuredProcessOptions>(createDefaultUnstructuredOptions())
const uploadedFiles = ref<UploadedDataFile[]>([])

View File

@@ -94,9 +94,9 @@ export function useDataProcessDraft(bindings: DraftBindings) {
bindings.goToStep('create')
bindings.task.name = snapshot.task?.name || ''
bindings.task.description = snapshot.task?.description || ''
bindings.processType.value = snapshot.processType === 'structured' || snapshot.processType === 'external'
bindings.processType.value = snapshot.processType === 'unstructured' || snapshot.processType === 'external'
? snapshot.processType
: 'unstructured'
: 'structured'
if (snapshot.structuredOptions) {
bindings.structuredOptions.value = {