imatrix-ui 2.9.30-dw → 2.9.30-dw-tmp1

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.30-dw-tmp1",
4
4
  "description": "前端组件库:表格、表单、组织结构树等",
5
5
  "main": "lib/super-ui.umd.min.js",
6
6
  "private": false,
@@ -1,6 +1,8 @@
1
1
  <template>
2
2
  <el-table
3
3
  v-if="loaded"
4
+ ref="historyList"
5
+ style="width: 100%"
4
6
  :data="histories"
5
7
  element-loading-text="Loading"
6
8
  border
@@ -97,7 +99,8 @@ export default {
97
99
  loaded: false,
98
100
  histories,
99
101
  processI18n: null,
100
- processNameI18n: null
102
+ processNameI18n: null,
103
+ tableHeight: null
101
104
  }
102
105
  },
103
106
  computed: {
@@ -118,7 +121,9 @@ export default {
118
121
  })
119
122
  },
120
123
  mounted() {
121
-
124
+ this.$nextTick(() => {
125
+ this.tableHeight = window.innerHeight - this.$refs.historyList.$el.offsetTop
126
+ })
122
127
  },
123
128
  methods: {
124
129
  ...ApiJs,