fix salaryMarkAsNotSuitLabelText

This commit is contained in:
geekgeekrun
2026-02-22 10:11:58 +08:00
parent cac32b934a
commit b94520e00a
@@ -2196,10 +2196,13 @@ const handleExpectSalaryCalculateWayChanged = getHandlerForExpectSalaryCalculate
const salaryMarkAsNotSuitLabelText = computed(() => { const salaryMarkAsNotSuitLabelText = computed(() => {
const textSeg = [] const textSeg = []
if (formContent.value.expectSalaryLow) { const formContentToUse = !formContent.value.fieldsForUseCommonConfig.salary
? formContent.value
: commonJobConditionConfig.value
if (formContentToUse.expectSalaryLow) {
textSeg.push('低于期望薪资下限') textSeg.push('低于期望薪资下限')
} }
if (formContent.value.expectSalaryHigh) { if (formContentToUse.expectSalaryHigh) {
textSeg.push('高于期望薪资上限') textSeg.push('高于期望薪资上限')
} }
return textSeg.join(' / ') return textSeg.join(' / ')