sanmu

Results 2 comments of sanmu

function tofixedNum(num) { let n=0 numarr.forEach((item,index) => { if(item.toString().includes('.')) { let tem = num.toString().split('.')[1].length if (tem>n) { n = tem } } }) return n; } ((.1+.2).toFixed(tofixedNum([.1,.2])))*1

目前组件只能一对一联动吗 多对一 和 多对多 可以吗