diff --git a/src/components/Form/src/hooks/useFormEvents.ts b/src/components/Form/src/hooks/useFormEvents.ts index 5b18aa56..d2ce15c2 100644 --- a/src/components/Form/src/hooks/useFormEvents.ts +++ b/src/components/Form/src/hooks/useFormEvents.ts @@ -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) diff --git a/src/views/system/sms/log/smsLog.data.ts b/src/views/system/sms/log/smsLog.data.ts index 7d17da4e..9a65aae3 100644 --- a/src/views/system/sms/log/smsLog.data.ts +++ b/src/views/system/sms/log/smsLog.data.ts @@ -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 },