imatrix-ui 2.9.30-dw → 2.9.31-dw

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imatrix-ui",
3
- "version": "2.9.30-dw",
3
+ "version": "2.9.31-dw",
4
4
  "description": "前端组件库:表格、表单、组织结构树等",
5
5
  "main": "lib/super-ui.umd.min.js",
6
6
  "private": false,
@@ -1,6 +1,9 @@
1
1
  <template>
2
2
  <el-table
3
3
  v-if="loaded"
4
+ ref="historyList"
5
+ style="width: 100%"
6
+ :height="tableHeight"
4
7
  :data="histories"
5
8
  element-loading-text="Loading"
6
9
  border
@@ -97,7 +100,8 @@ export default {
97
100
  loaded: false,
98
101
  histories,
99
102
  processI18n: null,
100
- processNameI18n: null
103
+ processNameI18n: null,
104
+ tableHeight: null
101
105
  }
102
106
  },
103
107
  computed: {
@@ -118,7 +122,9 @@ export default {
118
122
  })
119
123
  },
120
124
  mounted() {
121
-
125
+ this.$nextTick(() => {
126
+ this.tableHeight = window.innerHeight - 120
127
+ })
122
128
  },
123
129
  methods: {
124
130
  ...ApiJs,