Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新版安装包无法通过data来更新表格数据,onChange回调的数据(data)和文档有差异(celldata) #549

Open
MrXujiang opened this issue May 24, 2024 · 1 comment

Comments

@MrXujiang
Copy link

MrXujiang commented May 24, 2024

Describe the bug

const Table = (props: IProps) => {
    const { onChange, data = [{ name: "工作表一" }] } = props;
    return <div className={styles.wepTable}>
        <Workbook 
          data={data} 
          onChange={onChange}
         />
    </div>
}

To Reproduce
Steps to reproduce the behavior:

  1. data更新后无法更新表格
  2. 表格初始化时无法回显data里单元格的数据
@MrXujiang MrXujiang changed the title 新版r安装包无法通过data来更新表格数据,onChange回调的数据(data)和文档有差异() 新版r安装包无法通过data来更新表格数据,onChange回调的数据(data)和文档有差异(celldata) May 24, 2024
@MrXujiang MrXujiang changed the title 新版r安装包无法通过data来更新表格数据,onChange回调的数据(data)和文档有差异(celldata) 新版安装包无法通过data来更新表格数据,onChange回调的数据(data)和文档有差异(celldata) May 24, 2024
@sanchit3008
Copy link
Collaborator

hello, sorry for the late response on this. could you please describe this in english?

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

No branches or pull requests

2 participants