qingyiay
2023-03-28 e7b0b34176549cfec809c6b89c4cab0999e488b9
utils/util.js
@@ -6,7 +6,6 @@
   let hour = date.getHours()
   let minutes = date.getMinutes()
   let seconds = date.getSeconds()
   console.log(arg,'时间');
   if(arg == 'hms'){
      hour = hour < 10 ? '0' + hour : hour
      minutes = minutes < 10 ? '0' + minutes : minutes