File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2323 ondragover =" event.preventDefault(); event.dataTransfer.dropEffect = 'none'" >
2424 <colgroup >
2525 <col v-if =" !noNumCol" style =" width :40px " >
26- <col v-for =" (item, p) in fields" v-show =" !item.invisible" :key =" p" :style =" {width: item.width, 'min-width': item.minWidth }" >
26+ <col v-for =" (item, p) in fields" v-show =" !item.invisible" :key =" p" :style =" {width: item.width}" >
2727 <col v-if =" vScroller.buttonHeight < vScroller.height" style =" width :12px " >
2828 </colgroup >
2929 <thead class =" center-text" >
@@ -645,7 +645,7 @@ export default {
645645 },
646646 resetColumn () {
647647 this .fields = []
648- this .$slots .default .forEach (col => col .componentInstance ? col .componentInstance .init () : 0 )
648+ // this.$slots.default.forEach(col => col.componentInstance? col.componentInstance.init() : 0)
649649 this .tableContent .scrollTo (0 , this .tableContent .scrollTop )
650650 this .calStickyLeft ()
651651 },
@@ -1047,7 +1047,7 @@ export default {
10471047 + (this .noNumCol ? 0 : 40 )
10481048 const fillWidth = viewWidth - fullWidth + 2
10491049 if (fillWidth)
1050- doFields .forEach (f => f .minWidth = (f .width .replace (/ px$ / , ' ' ) - fillWidth / count) + ' px' )
1050+ doFields .forEach (f => f .width = (f .width .replace (/ px$ / , ' ' ) - fillWidth / count) + ' px' )
10511051 },
10521052
10531053 /* *** Date Picker *********************************************************************************
You can’t perform that action at this time.
0 commit comments