v1.8.1 - hotfix - move theme settings from HTML root to Gantt Component root.

This commit is contained in:
LINING-PC\lining
2026-02-05 16:24:31 +08:00
parent 90f0f5bc60
commit e1d0180c92
22 changed files with 340 additions and 306 deletions
-1
View File
@@ -1864,7 +1864,6 @@ const handleCustomMenuAction = (action: string, task: Task) => {
:tasks="tasks"
:milestones="milestones"
:locale="controlMode === 'props' ? propsLocale : undefined"
:theme="controlMode === 'props' ? propsTheme : undefined"
:time-scale="controlMode === 'props' ? propsTimeScale : undefined"
:fullscreen="controlMode === 'props' ? propsFullscreen : undefined"
:expand-all="controlMode === 'props' ? propsExpandAll : undefined"
+14
View File
@@ -492,5 +492,19 @@
"🎉 Optimized: The assignee and avatar properties of the Task object now accept arrays to mark multiple assignees",
"<span style=\"font-weight: bold; color: #f00;\">Special thanks to yunlbs/fhjfhj/jakepan@gitee for their use and suggestions</span>"
]
},
{
"version": "1.8.1",
"date": "2026-02-05",
"notes": [
"🎉 优化:重构组件,Theme作用域从全局调整至局部.gantt-root",
"🎉 优化:重构组件,Theme自动跟随系统设置",
"🎉 优化:重构组件,完美支持Nuxt3、TailwindCSS等框架",
"<span style=\"font-weight: bold; color: #f00;\">特别感谢andrijor@gmail.com的专业反馈</span>",
"🎉 Optimized: Refactored components, Theme scope adjusted from global to local .gantt-root",
"🎉 Optimized: Refactored components, Theme automatically follows system settings",
"🎉 Optimized: Refactored components, Perfectly supports Nuxt3, TailwindCSS and other frameworks",
"<span style=\"font-weight: bold; color: #f00;\">Special thanks to andrijor@gmail.com for their professional feedback</span>"
]
}
]