src/common/utils/util.js
@@ -138,7 +138,6 @@ return '-' } let date = new Date(dat) console.log(date, dat, type); const year = date.getFullYear(); const month = (date.getMonth() + 1).toString().padStart(2, '0'); const day = date.getDate().toString().padStart(2, '0'); @@ -768,7 +767,9 @@ }, reject) // #endif }) }, roundToTwo(num){ return Math.round((num + Number.EPSILON) * 100) / 100; } }