msb_beta
ch 2 years ago
parent ced626f083
commit f15ca997a8

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2021-07-26 23:22:16 * @Date: 2021-07-26 23:22:16
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-11 15:56:00 * @LastEditTime: 2022-05-16 09:46:02
* @Description: file content * @Description: file content
*/ */
import Vue from 'vue'; import Vue from 'vue';
@ -37,7 +37,7 @@ if(store.state.token){
}) })
}) })
}, 5000000); }, 5000);
}) })
} }

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-03-26 14:32:03 * @Date: 2022-03-26 14:32:03
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-14 18:35:48 * @LastEditTime: 2022-05-16 09:44:51
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -76,18 +76,15 @@ export default {
}, },
watch:{ watch:{
msgData(){ msgData(){
console.log('------+++-');
this.$nextTick(()=>{ this.$nextTick(()=>{
uni.pageScrollTo({ uni.pageScrollTo({
scrollTop : 99999, scrollTop : 99999,
duration : 0 duration : 0
}); });
}); });
} }
}, },
onPageScroll(res) { onPageScroll(res) {
// && !this.isInput
if (res.scrollTop <= 0) { if (res.scrollTop <= 0) {
this.getHistoryMsg(); this.getHistoryMsg();
} }
@ -145,7 +142,6 @@ export default {
* 发送心跳 * 发送心跳
*/ */
heartMsg(){ heartMsg(){
return false;
MsbWebSkt.send({ MsbWebSkt.send({
data : JSON.stringify({ data : JSON.stringify({
traceId : createUUID(), traceId : createUUID(),
@ -157,7 +153,7 @@ export default {
complete: () =>{ complete: () =>{
setTimeout(()=>{ setTimeout(()=>{
this.heartMsg(); this.heartMsg();
},1000000) },5000)
} }
}) })
}, },

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-03-22 15:36:46 * @Date: 2022-03-22 15:36:46
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-14 18:22:38 * @LastEditTime: 2022-05-16 09:45:14
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -121,7 +121,7 @@ export default {
}) })
}) })
}, 5000000); }, 5000);
}) })
this.goBack(); this.goBack();
}, },

Loading…
Cancel
Save