feat: 在固定列中使用图片时增加注意事项

This commit is contained in:
izbz wh 2019-04-24 10:05:52 +08:00
parent 2878e39ccb
commit 6ac9f76071
6 changed files with 8267 additions and 7 deletions

View File

@ -2,7 +2,7 @@
*
* @title 图片在表格中的展示
* @parent 扩展行 Expanded Row
* @description 根据图片高度自动撑开行高可结合图片查看器使用 http://design.yonyoucloud.com/tinper-bee/bee-viewer
* @description 根据图片高度自动撑开行高可结合图片查看器使用 http://design.yonyoucloud.com/tinper-bee/bee-viewer, 注如果图片在固定列中可以使用heightConsistent属性当此属性为true就不会出现错行问题
* demo1107
*/
@ -60,6 +60,7 @@ const columns = [
title: "图样",
dataIndex: "picture",
key: "picture",
fixed:'left',
render(text, record, index) {
return <img style={{height:'50px'}} src={text} alt="Picture"/>
}

File diff suppressed because one or more lines are too long

8260
dist/demo.css vendored

File diff suppressed because it is too large Load Diff

2
dist/demo.css.map vendored

File diff suppressed because one or more lines are too long

5
dist/demo.js vendored

File diff suppressed because one or more lines are too long

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long