mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-05-18 00:57:37 +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">
|
||||
<template #default="{ row }">
|
||||
<el-select
|
||||
v-model="row.scaleList"
|
||||
v-model="row.scale"
|
||||
:disabled="row.___itemType === 'empty-condition-placeholder'"
|
||||
clearable
|
||||
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() {
|
||||
return {
|
||||
salary: null,
|
||||
|
||||
Reference in New Issue
Block a user