v1.9.1 - Issue with ThemeChange management in GanttChart
This commit is contained in:
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [1.9.1] - 2026-02-07
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- 🔧 修复: GanttChart管理ThemeChange的问题
|
||||||
|
- 🔧 Fixed: Issue with ThemeChange management in GanttChart
|
||||||
|
|
||||||
## [1.9.0] - 2026-02-07
|
## [1.9.0] - 2026-02-07
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "jordium-gantt-vue3",
|
"name": "jordium-gantt-vue3",
|
||||||
"version": "1.9.0",
|
"version": "1.9.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "npm-package/dist/jordium-gantt-vue3.cjs.js",
|
"main": "npm-package/dist/jordium-gantt-vue3.cjs.js",
|
||||||
"module": "npm-package/dist/jordium-gantt-vue3.es.js",
|
"module": "npm-package/dist/jordium-gantt-vue3.es.js",
|
||||||
|
|||||||
@@ -340,9 +340,8 @@ const handleThemeToggle = () => {
|
|||||||
// 立即触发主题变化事件
|
// 立即触发主题变化事件
|
||||||
if (props.onThemeChange && typeof props.onThemeChange === 'function') {
|
if (props.onThemeChange && typeof props.onThemeChange === 'function') {
|
||||||
props.onThemeChange(newTheme)
|
props.onThemeChange(newTheme)
|
||||||
} else {
|
|
||||||
emit('theme-change', newTheme)
|
|
||||||
}
|
}
|
||||||
|
emit('theme-change', newTheme)
|
||||||
|
|
||||||
// 显示确认对话框询问是否保存设置
|
// 显示确认对话框询问是否保存设置
|
||||||
pendingValue.value = newTheme
|
pendingValue.value = newTheme
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import vue from '@vitejs/plugin-vue'
|
|||||||
export default defineConfig(({ command }) => ({
|
export default defineConfig(({ command }) => ({
|
||||||
plugins: [vue()],
|
plugins: [vue()],
|
||||||
// GitHub Pages 部署时的 base 路径
|
// GitHub Pages 部署时的 base 路径
|
||||||
base: command === 'build' ? '/jordium-gantt-vue3/' : '/',
|
base: command === 'build' ? './' : '/',
|
||||||
// 开发服务器配置
|
// 开发服务器配置
|
||||||
root: 'demo',
|
root: 'demo',
|
||||||
// 构建配置
|
// 构建配置
|
||||||
|
|||||||
Reference in New Issue
Block a user