diff --git a/main.js b/main.js index 777731a..02d34fe 100644 --- a/main.js +++ b/main.js @@ -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/" diff --git a/pages/timeAcupoint/timeAcupoint.vue b/pages/timeAcupoint/timeAcupoint.vue index 094d0b3..0899eae 100644 --- a/pages/timeAcupoint/timeAcupoint.vue +++ b/pages/timeAcupoint/timeAcupoint.vue @@ -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() {