微调-引入全局获取时间小时数据

This commit is contained in:
@fawn-nine
2023-12-08 09:41:21 +08:00
parent bda49ff7c8
commit ea98643858
2 changed files with 5 additions and 0 deletions

View File

@@ -6,6 +6,10 @@ import {music, bgm} from '@/utils/music.js'
Vue.prototype.$music = music
Vue.prototype.$bgm = bgm
import {nowHour} from '@/utils/getHours.js'
Vue.prototype.$getHours = nowHour
// 地址
// Vue.prototype.$baseUrl = "http://192.168.110.100:9100/pb/"
// Vue.prototype.$baseUrl = "http://59.110.212.44:9100/pb/"

View File

@@ -176,6 +176,7 @@
console.log('初始时间', this.dateToString, this.date)
this.getXueWei(this.dateToString)
this.getTGDZ(this.dateToString)
// console.log('全局hours',this.$getHours.hourNumber)
},
onHide() {