fix: type

pull/33/head
xingyu 2023-08-31 15:25:01 +08:00
parent 9eb91429be
commit 9ae7b1926b
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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
},