提交 e9799a33 编写于 作者: F F-loat 提交者: 陈帅

fix: less modify method

上级 baac17a1
......@@ -23,7 +23,9 @@ class SettingDarwer extends PureComponent {
componentDidMount() {
const { themeColor, colorWeak } = this.props.setting;
if (themeColor !== '#1890FF') {
this.colorChange(themeColor);
window.less.refresh().then(() => {
this.colorChange(themeColor);
});
}
if (colorWeak === 'open') {
document.body.className = 'colorWeak';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册