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
table组件中的Column项中的fixed是string或boolean类型,但是现在只规定了boolean类型,ts中使用报错 #25658
Comments
Hello @944832260. Please provide a online reproduction by forking this link https://u.ant.design/codesandbox-repro or a minimal GitHub repository. Issues labeled by 你好 @944832260, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。7 天内未跟进的 issue 将会被自动关闭。 |
https://github.com/react-component/table/blob/master/src/interface.ts#L22 It seems that the string type exists in rc-table |
咱们别似乎行吗 ?我是 不知道咋贴图,能贴图的话早就贴了 |
直接粘贴,拖拽到输入框都可以 |
http://chuantu.xyz/t6/739/1594882431x-1404755402.jpg |
比较模糊,电脑上直接截图,粘贴会清晰一些。 |
用复现发代码吧,这样效率太低 |
发这个是为了辅助之后看这个 issue 的人判断。 |
https://github.com/944832260/webpack4-react-ts/blob/master/src/pages/warehousing/warehousing.tsx |
Same error, need fix !!! const column = [
{
.....,
fixed: 'right'
}
]
<Table column={column} datasource={[....]}/> |
这个应该是由于没有给 试试这个: |
现在的fiexd只能设置true或者false,string类型不行的
这个可以 3Q |
Reproduction link
https://ant.design/components/table-cn/#API
Steps to reproduce
11
What is expected?
修复
What is actually happening?
11
The text was updated successfully, but these errors were encountered: