formatter(value) {
const obj = value;
const num = (new Date(obj.date)).getDay();
if(num === 0 || num === 6){
const date = new Date();
if(date<=value.date && value.date <=this.maxDate) {
obj.className = ‘rRed’;
}
}
return obj;
}
vant日历周六日红色
最新推荐文章于 2023-03-18 08:49:43 发布