liusheng
2025-07-09 38e0cad3107b0a43e9afac4e5e55cf769e84d01c
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()
          }