Closed bemzhao closed 2 years ago
非常感谢作者分享这个日历组件
目前业务中有个场景是要默认显示周视图的,我在文档上找到可以传入 isShowWeekView 来实现
但实际上并没有出现预期的效果
我在 codesandbox 上复现了这个问题
https://codesandbox.io/s/gracious-dream-d7wi2?file=/src/components/HelloWorld.vue
如果我传入一个字符串 “true” 就能达到预期的效果,但我知道类型检查会告诉我该传入一个 Boolean 值..
time_show 初始值改为 true
当 model 为 inline 时,visible 的值必须为 true
非常感谢作者分享这个日历组件
目前业务中有个场景是要默认显示周视图的,我在文档上找到可以传入 isShowWeekView 来实现
但实际上并没有出现预期的效果
我在 codesandbox 上复现了这个问题
https://codesandbox.io/s/gracious-dream-d7wi2?file=/src/components/HelloWorld.vue