-
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
自定义滑块插槽content,插槽内容时间不变 #34
Comments
还想问一个问题,我可不可以直接在甘特图上直接拖动创建一个时间范围。目前好像必须要求有开始和结束时间才显示滑块, |
这个确实是个问题。当使用抛出的数据渲染时,会出现时间不跟随的问题。但直接使用label不会有问题。当时怎么没测全这些功能。 但不太好处理现在。不着急的话,可以等我最近在重写的新版本,这个问题会被修改。 |
好的好的,作者加油 |
@iarthit 刚才发现了一个情况,请尝试将原始 data 套上 |
v2.0.1 已经发布,可以使用。经过测试,同样需要给 data 数组套上 |
我升级v2.0.1版本之后,甘特图用不了了,控制台报错:Component is missing template or render function,全局异常捕捉报错:TypeError: Cannot read properties of null (reading '$el'),我把node_modules文件夹和package-lock.json文件删掉重新初始化也不行,换回V1.0.2就行,哎没搞懂 |
@iarthit 哈?啥玩意???来个图,贴个码,我瞅瞅 |
啊!我知道了。不好意思,我修改了一些属性。现在的属性更加符合规范和使用。我在赶文档,稍后再试吧 @iarthit |
没事没事,不着急,我售后再试试 |
好奇怪?贴个最小代码我明天看一下 |
这个是显示不全的代码
|
这个是控制台报错的代码
|
内部实现不太一样。可以提供一个最小复现场景,我来看看 |
当我自定义滑块插槽content,插槽内容为 data.startDate ,我想实现拖动滑块,插槽里面的时间也跟着改变,我该怎么做,
下面是我的插槽内容
The text was updated successfully, but these errors were encountered: