File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/js/module/workbench/script Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 110110<script >
111111import _ from ' lodash' ;
112112import util from ' @/js/util' ;
113- import WeTable from ' @js/component/table' ;
113+ import Table from ' @js/component/table' ;
114114import WeToolbar from ' ./toolbar.vue' ;
115115import elementResizeEvent from ' @js/helper/elementResizeEvent' ;
116116export 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 ;
You can’t perform that action at this time.
0 commit comments