bug处理,插件版本同步

This commit is contained in:
2026-07-15 16:36:20 +08:00
parent 0911760e27
commit bf84da7783
12 changed files with 707 additions and 303 deletions
+5 -1
View File
@@ -159,11 +159,15 @@ function onRegionChange(codes: string[]) {
/** 保存表单数据 */
async function handleSave() {
try {
const intention = store.state.jobIntention
await store.dispatch('saveJobIntention', {
categoryIds: [...selectedCategoryIds.value],
industryIds: [...selectedIndustryIds.value],
regionCodes: [...selectedRegionCodes.value],
recruitCategory: JOB_TYPE_OPTIONS.find(o => o.label === selectedJobType.value)?.value ?? 0,
recruitCategory: selectedJobType.value === '全部' ? null : (JOB_TYPE_OPTIONS.find(o => o.label === selectedJobType.value)?.value ?? null),
employmentType: intention.employmentType ?? null,
aiCategoryIds: intention.aiCategoryIds || [],
aiIndustryIds: intention.aiIndustryIds || [],
})
visible.value = false
} catch (e) {