摘要:
这样会报错 <p :class="today(index)?'active':''">{{date[defaultWeekIndex].date[index]}}</p> computed: { today(index) { const { defaultWeekIndex, date } = th 阅读全文

posted @ 2022-03-28 14:40
吴小明-
阅读(307)
评论(0)
推荐(0)
摘要:
效果: 1、数据结构:Calendar/data.js export const data = [ { id: 0, hour: '00:00' }, { id: 1, hour: '01:00' }, { id: 2, hour: '02:00' }, { id: 3, hour: '03:00' 阅读全文

posted @ 2022-03-28 09:26
吴小明-
阅读(38)
评论(0)
推荐(0)