bill 2 years ago
parent
commit
c8c60cd46d

+ 1 - 1
src/version.json

@@ -2,5 +2,5 @@
   "env": "dev",
   "main": 1.2,
   "append": "alpha",
-  "version": 13
+  "version": 14
 }

+ 1 - 1
src/views/draw-file/slider.tsx

@@ -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])
         ]
         

+ 7 - 5
src/views/example/scene/list.tsx

@@ -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>
   )
   

+ 5 - 0
src/views/example/style.module.scss

@@ -41,4 +41,9 @@
 
 .header-table :global(.ant-table-tbody) {
   display: none;
+}
+
+.scene-table-layout {
+  max-height: 500px;
+  overflow-y: auto;
 }