Skip to content

Commit

Permalink
feat: 替换 activeKey 取值类型
Browse files Browse the repository at this point in the history
  • Loading branch information
lhbxs committed Oct 8, 2023
1 parent 748a84c commit 5175403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/form-render/src/widgets/listTab/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const TabList: React.FC<ListTabProps> = (props) => {
type='editable-card'
{...retProps}
onChange={setActiveKey}
activeKey={activeKey + ''}
activeKey={`${activeKey}`}
onEdit={handleEdit}
hideAdd={readOnly || hideAdd}
>
Expand Down

0 comments on commit 5175403

Please sign in to comment.