mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-09-05 15:38:46 +08:00
fix for misspell of scale property.
This commit is contained in:
@@ -148,7 +148,7 @@
|
|||||||
<el-table-column :resizable="false" label="公司规模" prop="scale">
|
<el-table-column :resizable="false" label="公司规模" prop="scale">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="row.scaleList"
|
v-model="row.scale"
|
||||||
:disabled="row.___itemType === 'empty-condition-placeholder'"
|
:disabled="row.___itemType === 'empty-condition-placeholder'"
|
||||||
clearable
|
clearable
|
||||||
size="small"
|
size="small"
|
||||||
@@ -204,6 +204,14 @@ const props = defineProps({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// fix for misspell of scale property.
|
||||||
|
for (const condition of props.modelValue) {
|
||||||
|
if ((condition as any).scaleList && !condition.scale) {
|
||||||
|
condition.scale = (condition as any).scaleList
|
||||||
|
delete (condition as any).scaleList
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function getNewConditionItem() {
|
function getNewConditionItem() {
|
||||||
return {
|
return {
|
||||||
salary: null,
|
salary: null,
|
||||||
|
|||||||
Reference in New Issue
Block a user