forked from integrated_whb/integrated_whb_vue
修复清单管理table的row-key写成变量报错
parent
13b86add48
commit
077432b715
|
@ -85,7 +85,7 @@
|
|||
ref="tableRef"
|
||||
v-model:pagination="pagination"
|
||||
:data="list"
|
||||
:row-key="name === 'risk' ? LISTMANAGER_ID : CUSTOM_ID"
|
||||
:row-key="name === 'risk' ? 'LISTMANAGER_ID' : 'CUSTOM_ID'"
|
||||
@get-data="fnGetDataTransfer"
|
||||
>
|
||||
<el-table-column reserve-selection type="selection" width="55" />
|
||||
|
|
|
@ -174,7 +174,7 @@ const props = defineProps({
|
|||
default: () => ({}),
|
||||
},
|
||||
whetherHazards: {
|
||||
type: String,
|
||||
type: [String, Number],
|
||||
required: true,
|
||||
default: "",
|
||||
},
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
ref="tableRef"
|
||||
v-model:pagination="pagination"
|
||||
:data="list"
|
||||
:row-key="name === 'risk' ? LISTMANAGER_ID : CUSTOM_ID"
|
||||
:row-key="name === 'risk' ? 'LISTMANAGER_ID' : 'CUSTOM_ID'"
|
||||
@get-data="fnGetDataTransfer"
|
||||
>
|
||||
<el-table-column reserve-selection type="selection" width="55" />
|
||||
|
|
Loading…
Reference in New Issue