zhangzengfei
2023-10-09 8e40a69fcfe8bc799fee141fec953a2b0892dbd4
src/pages/desktop/index/components/DFrame.vue
@@ -76,8 +76,8 @@
  filters: {
    proxyUrl(srcUrl) {
      let url = srcUrl
      if (url.indexOf("127.0.0.1") > 0 && location.hostname != "127.0.0.1") {
        url = url.replace("127.0.0.1", location.hostname)
      if (url.indexOf("127.0.0.1") > 0 && window.location.hostname != "127.0.0.1") {
        url = url.replace("127.0.0.1", window.location.hostname)
      }
      return url