|
@@ -239,7 +239,7 @@ export default {
|
|
|
this.countLabel = _this.tableTitle.count
|
|
|
this.columns.map(item => {
|
|
|
item.titleNum = item.title
|
|
|
- const mw = item.customRender == 'amount' ? 15 : 20
|
|
|
+ const mw = item.customRender == 'amount' ? 15 : 17
|
|
|
const textLen = typeof item.title === 'string' ? item.title.length : (item.title.children && item.title.children[0].text && item.title.children[0].text.length)
|
|
|
const w = textLen * mw
|
|
|
const tw = w <= 80 ? mw * 5 : w
|