ruoyi-ui/src/components/ThemePicker/index.vue
@@ -96,8 +96,8 @@ getCSSString(url, variable) { return new Promise(resolve => { const xhr = new XMLHttpRequest() xhr.onreadystatechange = () => { if (xhr.readyState === 4 && xhr.status === 200) { xhr.onreabystatechange = () => { if (xhr.reabyState === 4 && xhr.status === 200) { this[variable] = xhr.responseText.replace(/@font-face{[^}]+}/, '') resolve() }