1.html
<template>
<div class="container">
<div class="calenderBox">
<ByCalender ref="calender" :defaultValue="calenderValue" :visible="calenderShow" :format=" 'yyyy 年 MM 月' " :format-value="'yyyy-MM-dd'" @clickCalCB="clickCalResp" @clickMonBtnCB="clickMonBtnResp"/>
</div>
</div>
</template>
2.javascript
<script>
/* eslint-disable */
import ByCalender from "../components/calender";
export default {
name: "CustManager",
components: {
ByCalender
},
data() {
return {
calenderValue:'',
calenderShow:true
}
},
created(){
this.setCalenderValue()
// this.cellPPTop = document.querySelector('.active').offsetTop
},
moun