bug处理,插件版本同步
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user