@@ -2,5 +2,5 @@
"env": "dev",
"main": 1.2,
"append": "alpha",
- "version": 13
+ "version": 14
}
@@ -38,7 +38,7 @@ export const DfSlider = ({ board, type, caseId }: SliderProps) => {
if (taggings.length) {
const table = await board.calcTableShape(
[
- ["图例", "标注"],
+ ["序号", "标注"],
...taggings.map((tag, index) => [`序号${index + 1}`, tag.tagTitle])
]
@@ -105,11 +105,13 @@ export const ExampleScenes = (props: ExampleScenesProps) => {
添加场景
</Button>
</div>
- <Table
- rowKey={'modelId'}
- columns={columns}
- data={scenes}
- />
+ <div className={style['scene-table-layout']}>
+ <Table
+ rowKey={'modelId'}
+ columns={columns}
+ data={scenes}
+ />
+ </div>
</Modal>
)
@@ -41,4 +41,9 @@
.header-table :global(.ant-table-tbody) {
display: none;
+}
+
+.scene-table-layout {
+ max-height: 500px;
+ overflow-y: auto;