methods: { // 小数点后4位 decimal4(value) { const newVal = parseFloat(value).toFixed(4); return newVal; }, },