Explorar o código

修改hostname

bihuisong hai 5 meses
pai
achega
6e910f7155
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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() {
     getLocalIp() {
       const {hostname} = window.location;
       const {hostname} = window.location;
       return hostname === 'localhost' || hostname === '127.0.0.1'
       return hostname === 'localhost' || hostname === '127.0.0.1'
-        ? 'http://localhost'
+        ? 'http://192.168.4.9'
         : `http://${hostname}`;
         : `http://${hostname}`;
     },
     },
     getPort() {
     getPort() {