@@ -473,13 +473,6 @@ export default {
};
util.trackRequest(param);
},
- showToast(title){
- this.$store.state.loading = true;
- this.$store.state.loadingMsg = title || "";
- setTimeout(()=>{
- this.$store.state.loading = false;
- }, 1500);
- }
}
@@ -306,7 +306,6 @@ function wsSendHeartBeat() {
*/
function start() {
let ws = wsConfig.ws;
- //开启心跳
// console.log("开启心跳", wsConfig,ws.readyState);
let data = ["\n"];//心跳的数据格式
ws.send(JSON.stringify(data));