主分支添加五运六气和时辰检索
This commit is contained in:
18
utils/getHours.js
Normal file
18
utils/getHours.js
Normal file
@@ -0,0 +1,18 @@
|
||||
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() // 当前的小时数
|
||||
|
||||
var myHour = {
|
||||
playBgm({mute=false}){
|
||||
},
|
||||
|
||||
|
||||
}
|
||||
module.exports = {nowHour}
|
||||
|
||||
Reference in New Issue
Block a user