Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

pro-table 使用modal弹窗,有没有值改变的回调? #734

Open
jwdiao opened this issue Mar 9, 2021 · 1 comment
Open

pro-table 使用modal弹窗,有没有值改变的回调? #734

jwdiao opened this issue Mar 9, 2021 · 1 comment

Comments

@jwdiao
Copy link

jwdiao commented Mar 9, 2021

🧐 问题描述 [pro-table 使用modal弹窗,有没有值改变的回调?]

💻 示例代码 [<OsdDialog onCancel={() => handleOSDVisible(false)} modalVisible={createOSDVisible}>

            <ProTable<GithubIssueItem, GithubIssueItem>
                onSubmit={async (value) => {
                    console.log('submit====', value)
                }}
                rowKey="key"
                type="form"
                columns={columnData}
            />
        </OsdDialog>]

<Modal title="OSD编辑" width={850} destroyOnClose
visible={modalVisible}
onCancel={() => onCancel()}
footer={null}>


{props.children}


<Form.Item
hasFeedback
>

🚑 其他信息 [如截图等其他信息可以贴在这里]

image

@jwdiao
Copy link
Author

jwdiao commented Mar 9, 2021

选择或输入左边的值,有没有触发的回调函数。 类似onChange等?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant