Files
nuttyreading-html/utils/getHours.js
2023-12-08 14:08:44 +08:00

20 lines
381 B
JavaScript

import store from '@/store/index.js'
import $http from '@/config/requestConfig.js';
// #ifdef APP-PLUS
const nowHour = new Date;
// #endif
// #ifdef H5
const nowHour = new Date;
// #endif
nowHour.hourNumber = nowHour.getHours() // 当前的小时数
nowHour.minuteNumber = nowHour.getMinutes()
var myHour = {
playBgm({mute=false}){
},
}
module.exports = {nowHour}