-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]甘特图按月份展示时slider展示位置不正确 #53
Labels
bug
Something isn't working
Comments
日期位置问题,给我复现代码 表头内容问题,你可以看一下当前是什么语言: dayjs.locale('zh-cn');
console.log('main', dayjs.locale()); |
关于日期位置 我将demo代码复制到项目中执行效果如下: 甘特图配置和demo中的一致,使用的数据为 const ganttData = reactive([{
index: '2',
type: 1,
startDate: new Date('2022-02-19'),
endDate: new Date('2022-07-24'),
children: [
{
index: '20000001',
startDate: new Date('2022-03-09'),
endDate: new Date('2022-07-17'),
children: [
{
index: '2000000101',
startDate: new Date('2022-03-09'),
endDate: new Date('2022-07-17'),
children: [],
},
{
index: '2000000102',
startDate: new Date('2022-03-09'),
endDate: new Date('2022-06-19'),
children: [],
},
],
},
],
},
]); |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
如图所示起始日期为4月28日,但是展示时出现在5月的位置,选择按天和按周展示时所属月份是正常显示的
Expected behavior
在正确的月份显示
Screenshots
Versions
The text was updated successfully, but these errors were encountered: