Browse Source

优化

master
lxc 2 years ago
parent
commit
b9d73f2077
  1. 1
      lpro/src/main/webapp/page/devicedebug/index.html
  2. 2
      lpro/src/main/webapp/page/visual/index.html

1
lpro/src/main/webapp/page/devicedebug/index.html

@ -115,6 +115,7 @@
username: mqttUserName , username: mqttUserName ,
password: mqttPassword , password: mqttPassword ,
} }
console.log('ws://'+document.domain+':8083/mqtt')
client = mqtt.connect('ws://'+document.domain+':8083/mqtt', options) ; client = mqtt.connect('ws://'+document.domain+':8083/mqtt', options) ;
client.on('reconnect', function(error) { client.on('reconnect', function(error) {
console.log("reconnect"); console.log("reconnect");

2
lpro/src/main/webapp/page/visual/index.html

@ -37,7 +37,7 @@
<script type="text/javascript" src="../../lib/webUploader/webuploader.min.js"></script> <script type="text/javascript" src="../../lib/webUploader/webuploader.min.js"></script>
<script type="text/javascript" src="../../lib/echarts/echarts.min.js"></script> <script type="text/javascript" src="../../lib/echarts/echarts.min.js"></script>
<script type="text/javascript" src="../../lib/echarts/echarts-liquidfill.min.js"></script> <script type="text/javascript" src="../../lib/echarts/echarts-liquidfill.min.js"></script>
<script type="text/javascript" src="js/cfg.js"></script> <script type="text/javascript" src="js/cfg.js?x=1"></script>
<link rel="stylesheet" href="css/cfg.css" /> <link rel="stylesheet" href="css/cfg.css" />
</head> </head>
<body> <body>

Loading…
Cancel
Save