浏览代码

修改hostname

bihuisong 5 月之前
父节点
当前提交
6e910f7155
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      zhjq-ui/src/views/system/voice/index.vue

+ 1 - 1
zhjq-ui/src/views/system/voice/index.vue

@@ -215,7 +215,7 @@ export default {
     getLocalIp() {
       const {hostname} = window.location;
       return hostname === 'localhost' || hostname === '127.0.0.1'
-        ? 'http://localhost'
+        ? 'http://192.168.4.9'
         : `http://${hostname}`;
     },
     getPort() {