-
Notifications
You must be signed in to change notification settings - Fork 320
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
在vue中使用dhtmlx-gantt,遇到的问题 #106
Comments
@houqingbin, In the past, Gantt didn't hide the tooltip, but starting from the 6.1.4 version, it is removed when you call the If your license doesn't allow you to use the Gantt Instance approach, it means that you cannot use the You can use the following code to manually hide all the tooltips:
|
怎么样老哥解决了吗 |
我也遇到了,使用destructor再打开会直接挂掉 |
@DaTongDXM, If you use another Pro version, you should be able to create a new Gantt Instance when you open a page/tab/view with Gantt: Here are the demos: Vue 3 + Gantt Instance Alternative: Vue 3 + Gantt Instance: |
在vue2中使用dhtmlx-gantt,配置了gantt.plugins({
![image](https://private-user-images.githubusercontent.com/75670670/293323648-8d26c59f-1ced-423c-b11f-bc929f99596f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM5NjA0NTUsIm5iZiI6MTcyMzk2MDE1NSwicGF0aCI6Ii83NTY3MDY3MC8yOTMzMjM2NDgtOGQyNmM1OWYtMWNlZC00MjNjLWIxMWYtYmM5MjlmOTk1OTZmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE4VDA1NDkxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUzN2U4NWYyMGMzNDBiOWI3NTFhMmI3OWY3Y2E5MmEwOGJkZGVjMmIyNmI4ZmZiZWU1OTAwODk2OGY0MjNhYzAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.d8h4Ad6Y_gj1jOQ0Y1gytf__t-beuQY8YuEnA5JMKuo)
tooltip: true
});,有时候鼠标离开后还会有tips窗口
如果使用destroyed生命周期,并gantt.destructor(),会在下次进入调用gantt组件页面时,会抛出TypeError: Cannot read properties of undefined (reading 'tasksStore')
at t._update_flags错误
The text was updated successfully, but these errors were encountered: