From b4d0efd059a90f63d943d784a45fc59932c23c63 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Sun, 25 Oct 2020 22:07:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/regime/week.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/regime/week.vue b/src/views/regime/week.vue index f213a10..b75a60f 100644 --- a/src/views/regime/week.vue +++ b/src/views/regime/week.vue @@ -6,7 +6,7 @@ 上一周 2020年10月 - 月日历 + 月日历
下一周 @@ -211,6 +211,7 @@ import { defineComponent, ref, watch } from "vue"; import { getDay, gethour, getminute, gettime, getweek } from "@/utils/date"; import store from '@/store'; import { getdatelist, userinfo } from '@/api'; +import router from '@/router'; export default defineComponent({ props: {}, @@ -247,9 +248,13 @@ export default defineComponent({ console.log(week.value); getdates(userid) }); + function navto(){ + router.push("/regime/date") + } return { zhou, week, + navto }; }, });