diff --git a/.env.dev b/.env.dev index e54a5c3c..03228f8a 100644 --- a/.env.dev +++ b/.env.dev @@ -1,8 +1,8 @@ ### # @Author: Do not edit # @Date: 2023-08-29 09:40:39 - # @LastEditTime: 2024-04-01 08:31:57 - # @LastEditors: zhp + # @LastEditTime: 2024-04-03 11:22:19 + # @LastEditors: DY # @Description: ### # 开发环境配置 diff --git a/src/mixins/lb/tableHeightMixin.js b/src/mixins/lb/tableHeightMixin.js index f8495e1b..ad23d16e 100644 --- a/src/mixins/lb/tableHeightMixin.js +++ b/src/mixins/lb/tableHeightMixin.js @@ -5,6 +5,7 @@ export default { }; }, created() { + this.tableH = this?.heightNum ? this.tableHeight(this.heightNum) : this.tableHeight(260); window.addEventListener('resize', this._setTableHeight); }, destroyed() { @@ -12,7 +13,8 @@ export default { }, methods: { _setTableHeight() { - this.tableH = this.tableHeight(260); + this.tableH = this?.heightNum ? this.tableHeight(this.heightNum) : this.tableHeight(260); + // this.tableH = this.tableHeight(260); }, }, }; diff --git a/src/views/base/coreAlarmLog/index.vue b/src/views/base/coreAlarmLog/index.vue index 23b46378..c55c7d62 100644 --- a/src/views/base/coreAlarmLog/index.vue +++ b/src/views/base/coreAlarmLog/index.vue @@ -9,7 +9,8 @@ :table-props="tableProps" :page="listQuery.pageNo" :limit="listQuery.pageSize" - :table-data="tableData"> + :table-data="tableData" + :max-height="tableH"> v), tableData: [], listQuery: { - pageSize: 10, + pageSize: 20, pageNo: 1, total: 0, alarmSource: undefined, diff --git a/src/views/base/coreCustomer/add-or-updata.vue b/src/views/base/coreCustomer/add-or-updata.vue index 156fd061..caf12ba9 100644 --- a/src/views/base/coreCustomer/add-or-updata.vue +++ b/src/views/base/coreCustomer/add-or-updata.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2021-11-18 14:16:25 * @LastEditors: DY - * @LastEditTime: 2024-03-20 16:20:39 + * @LastEditTime: 2024-04-02 16:46:17 * @Description: -->