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 }; }, });