添加了跳转

This commit is contained in:
luyuan 2020-10-25 22:07:39 +08:00
parent 2307b87cd8
commit b4d0efd059
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -6,7 +6,7 @@
上一周
</div>
2020年10月
<a-button type="primary" class="button"> 月日历 </a-button>
<a-button type="primary" class="button" @click="navto()"> 月日历 </a-button>
<div @click="zhou++">
下一周
<img src="" alt="" />
@ -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
};
},
});