NEZ-1553 fix: 修复Alert message关闭下滑筛选后,界面无法自动填充

This commit is contained in:
@changcode
2022-02-10 09:36:35 +08:00
parent 8a7a4dc97f
commit a53786fc03
2 changed files with 2 additions and 3 deletions

View File

@@ -6,9 +6,6 @@
font-weight: bold; font-weight: bold;
} }
.list-page .main-container{ .list-page .main-container{
.nz-table2{
height: calc(100% - 242px);
}
.is-scrolling-none { .is-scrolling-none {
height: calc(100% - 43px) !important; height: calc(100% - 43px) !important;
} }

View File

@@ -5,6 +5,7 @@
:api="url" :api="url"
:custom-table-title.sync="tools.customTableTitle" :custom-table-title.sync="tools.customTableTitle"
:from="fromRoute.alertMessage" :from="fromRoute.alertMessage"
:nz-table-height-offset="alertMessageNzTableHeightOffset"
:layout="dataListLayout" :layout="dataListLayout"
:search-msg="searchMsg" :search-msg="searchMsg"
@search="search" @search="search"
@@ -176,6 +177,7 @@ export default {
return { return {
chartLoading: false, chartLoading: false,
chartInfo: {}, chartInfo: {},
alertMessageNzTableHeightOffset: 242,
stateOptions: alertMessageConstant.states, stateOptions: alertMessageConstant.states,
dataListLayout: localStorage.getItem('dataList-layout' + 'alertMessageTable') ? JSON.parse(localStorage.getItem('dataList-layout' + 'alertMessageTable')) : ['searchInput', 'elementSet', 'clickSearch', 'pagination'], dataListLayout: localStorage.getItem('dataList-layout' + 'alertMessageTable') ? JSON.parse(localStorage.getItem('dataList-layout' + 'alertMessageTable')) : ['searchInput', 'elementSet', 'clickSearch', 'pagination'],
state: '1', state: '1',