初始化(包含登录模块)
This commit is contained in:
19
utils/getHours.js
Normal file
19
utils/getHours.js
Normal file
@@ -0,0 +1,19 @@
|
||||
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}
|
||||
|
||||
Reference in New Issue
Block a user