fix:处理alert侧滑表格 tooltip不显示的问题

This commit is contained in:
zhangyu
2020-09-30 17:48:33 +08:00
parent 353c3c6ece
commit afa858c795
2 changed files with 2 additions and 2 deletions

View File

@@ -19,11 +19,11 @@ function short(value,index,type=1,dot){
} }
function percent01(value,index){ function percent01(value,index){
value=parseFloat((new Number(value)).toPrecision(12));
return `${value} %`; return `${value} %`;
} }
function percent02(value,index){ function percent02(value,index){
value=parseFloat((new Number(value)*100).toPrecision(12)); value=parseFloat((new Number(value)*100).toPrecision(12));
// value=parseFloat(value*100);
return `${value} %`; return `${value} %`;
} }
function localFormat(value,index){ function localFormat(value,index){

View File

@@ -409,7 +409,7 @@
this.$set(item[type], "position", position); this.$set(item[type], "position", position);
} }
this.$set(item[type], "loading", loading); this.$set(item[type], "loading", loading);
//this.$set(this.tableData,index,item);// 调用父组件 this.$set(this.tableData,index,item);// 调用父组件
}, },
// label tooltip是否显示 // label tooltip是否显示
labelToolTipDis(labelType){ labelToolTipDis(labelType){