Demo:修复覆盖方式切换主题时第一次切换不生效的问题
This commit is contained in:
parent
ba77fde93b
commit
5d433cce16
@ -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(() => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user