Commit 647c8565ccdb41d0a584873aa8f44a3765ca7de8
Merge branch 'fix/script-manage-scroll-bar' into 'main_dev'
fix: 修复脚本管理转换脚本页面存在滚动条 See merge request yunteng/thingskit-front!727
Showing
2 changed files
with
2 additions
and
0 deletions
| @@ -103,6 +103,7 @@ | @@ -103,6 +103,7 @@ | ||
| 103 | beforeFetch: (params: Recordable) => { | 103 | beforeFetch: (params: Recordable) => { | 
| 104 | return { ...unref(getSearchInfo), ...params }; | 104 | return { ...unref(getSearchInfo), ...params }; | 
| 105 | }, | 105 | }, | 
| 106 | + resizeHeightOffset: 30, | ||
| 106 | actionColumn: { | 107 | actionColumn: { | 
| 107 | width: 180, | 108 | width: 180, | 
| 108 | title: '操作', | 109 | title: '操作', | 
| @@ -123,6 +123,7 @@ | @@ -123,6 +123,7 @@ | ||
| 123 | const [registerTable, { reload, setProps, setSelectedRowKeys }] = useTable({ | 123 | const [registerTable, { reload, setProps, setSelectedRowKeys }] = useTable({ | 
| 124 | api: ScriptPage, | 124 | api: ScriptPage, | 
| 125 | ...defaultTableAttribtes, | 125 | ...defaultTableAttribtes, | 
| 126 | + resizeHeightOffset: 30, | ||
| 126 | beforeFetch: (params: Recordable) => { | 127 | beforeFetch: (params: Recordable) => { | 
| 127 | return { ...unref(props.searchInfo), ...params }; | 128 | return { ...unref(props.searchInfo), ...params }; | 
| 128 | }, | 129 | }, |