-
Notifications
You must be signed in to change notification settings - Fork 111
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
[Feature] ListTable 需要显示空状态 #1782
Labels
Comments
Interested on this too. When table don't have records yet. We should display something. This will be similar to: https://apexcharts.com/docs/options/nodata/ ("The text to display when no-data is available. Defaults to undefined which displays nothing.") |
21 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What problem does this feature solve?
请求数据为空时,可以配置显示空状态
![image](https://private-user-images.githubusercontent.com/23130670/333201269-2b9e81e1-9540-495c-ab9a-bf1f6972c827.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIwMzU1MDcsIm5iZiI6MTcyMjAzNTIwNywicGF0aCI6Ii8yMzEzMDY3MC8zMzMyMDEyNjktMmI5ZTgxZTEtOTU0MC00OTVjLWFiOWEtYmYxZjY5NzJjODI3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDIzMDY0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRkODc4M2FmOTA3OWUzZGYwZGYyODNmYWZiZjMxMGVjMWFkZTAyOWQ3ZjAzYThlYzJhMjZlYzk5NTM3NTI5Y2EmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ZgB9rrt7Ck7GyMwmIgPtAcnI3oSCx6keDusJtKBGols)
What does the proposed API look like?
tableInstance 支持 empty 参数,支持自定义布局(会设置图片和提示文字);支持单独修改图片 empty.image;支持单独修改文字 empty.description
当有长列时(出现滚动条),滚动式空状态可以始终位于容器中央
The text was updated successfully, but these errors were encountered: