From ea98643858aef9d183583763e212a68337720c1a Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Fri, 8 Dec 2023 09:41:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83-=E5=BC=95=E5=85=A5=E5=85=A8?= =?UTF-8?q?=E5=B1=80=E8=8E=B7=E5=8F=96=E6=97=B6=E9=97=B4=E5=B0=8F=E6=97=B6?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 4 ++++ pages/timeAcupoint/timeAcupoint.vue | 1 + 2 files changed, 5 insertions(+) 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() {