Skip to content

Commit f1dea54

Browse files
committed
update the result table references
1 parent 3429aa9 commit f1dea54

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/js/module/workbench/script/result.vue

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@
110110
<script>
111111
import _ from 'lodash';
112112
import util from '@/js/util';
113-
import WeTable from '@js/component/table';
113+
import Table from '@js/component/table';
114114
import WeToolbar from './toolbar.vue';
115115
import elementResizeEvent from '@js/helper/elementResizeEvent';
116116
export default {
117117
components: {
118-
WeTable,
118+
WeTable: Table.WeTable,
119119
WeToolbar,
120120
},
121121
props: {
@@ -129,7 +129,6 @@ export default {
129129
total: 0,
130130
path: '',
131131
cache: {
132-
133132
},
134133
};
135134
},
@@ -184,7 +183,6 @@ export default {
184183
});
185184
return obj;
186185
},
187-
188186
resultHeight: function() {
189187
return this.height - 80 + 'px';
190188
},
@@ -357,7 +355,6 @@ export default {
357355
let page = this.$refs.page.$el;
358356
let margin = (page.clientWidth || 0) / 2;
359357
page.style.marginLeft = -margin + 'px';
360-
361358
let ele = this.$refs.view;
362359
let computedStyle = getComputedStyle(ele);
363360
let h = ele.clientHeight;

0 commit comments

Comments
 (0)