mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 19:08:45 +08:00
doc:修复 dark 主题背景不生效问题
This commit is contained in:
parent
468dc2d6e8
commit
c9ee9338b0
@ -154,6 +154,7 @@ export class App extends React.PureComponent<{
|
||||
super(props);
|
||||
this.setNavigations = this.setNavigations.bind(this);
|
||||
this.setNavigationFilter = this.setNavigationFilter.bind(this);
|
||||
document.querySelector('body').classList.add(this.state.theme.value);
|
||||
}
|
||||
|
||||
componentDidUpdate(preProps, preState) {
|
||||
|
Loading…
Reference in New Issue
Block a user