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/OperationalOverview/AGVBoard.vue b/src/views/OperationalOverview/AGVBoard.vue index de1155ed..6553786f 100644 --- a/src/views/OperationalOverview/AGVBoard.vue +++ b/src/views/OperationalOverview/AGVBoard.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2021-07-19 15:18:30 * @LastEditors: zhp - * @LastEditTime: 2024-03-29 16:49:00 + * @LastEditTime: 2024-04-03 10:54:53 * @Description: -->