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