Demo:修复覆盖方式切换主题时第一次切换不生效的问题

This commit is contained in:
wanglin2 2023-10-11 17:13:35 +08:00
parent ba77fde93b
commit 5d433cce16

View File

@ -152,7 +152,7 @@ export default {
type: 'warning' type: 'warning'
}) })
.then(() => { .then(() => {
this.mindMap.setThemeConfig({}) this.mindMap.setThemeConfig({}, true)
this.changeTheme(theme, {}) this.changeTheme(theme, {})
}) })
.catch(() => { .catch(() => {