Commit e9799a33 authored by F-loat's avatar F-loat Committed by ι™ˆεΈ…

fix: less modify method

parent 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment