This commit is contained in:
dengxin
2024-03-29 12:06:51 +08:00
parent 49036b29a8
commit 03971176fb

View File

@@ -333,7 +333,7 @@ export default {
const tenantArray = res.data.data?.filter(item => item.id === tradeId) const tenantArray = res.data.data?.filter(item => item.id === tradeId)
console.log(res, tenantArray, '----------------'); console.log(res, tenantArray, '----------------');
if (tenantArray?.length === 0) return; if (tenantArray?.length === 0) return;
this.info.jobCompanyIndustry = tenantArray[0].name this.info.jobCompanyIndustry = tenantArray[0]?.name
} }
if (nature / 1 !== -1) { if (nature / 1 !== -1) {
@@ -341,7 +341,7 @@ export default {
console.log(tenantArray, "00000000000000000000000"); console.log(tenantArray, "00000000000000000000000");
if (tenantArray?.length === 0) return; if (tenantArray?.length === 0) return;
this.info.jobCompanyNature = tenantArray[0].label this.info.jobCompanyNature = tenantArray[0]?.label
} }
}, },
wageConfirm(e) { wageConfirm(e) {