fix: type
parent
9eb91429be
commit
9ae7b1926b
|
@ -314,7 +314,7 @@ export function useFormEvents({
|
|||
const currentFieldsValue = getFieldsValue()
|
||||
schemas.forEach((item) => {
|
||||
if (
|
||||
item.component != 'Divider'
|
||||
item.component !== 'Divider'
|
||||
&& Reflect.has(item, 'field')
|
||||
&& item.field
|
||||
&& !isNullOrUnDef(item.defaultValue)
|
||||
|
|
|
@ -23,7 +23,7 @@ export const columns: BasicColumn[] = [
|
|||
width: 180,
|
||||
customRender: ({ text, record }) => {
|
||||
if (record.userType && record.userId)
|
||||
return `${useRender.renderDict(record.userType, DICT_TYPE.USER_TYPE)}record.userId`
|
||||
return `${useRender.renderDict(record.userType, DICT_TYPE.USER_TYPE)} + ${record.userId}`
|
||||
else
|
||||
return text
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue