zhangwei
2024-09-03 376ac09a54e8c95190d06bf39f295c890829c103
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;
   }
}