内网开发

This commit is contained in:
2023-10-26 21:02:51 +08:00
parent 368ca335fe
commit 4e190cec87
308 changed files with 7135 additions and 2175 deletions

View File

@@ -66,6 +66,12 @@
true
);
},
filters:{
contentFilter(value){
console.warn(value)
return "KKKKK"+value
}
},
watch: {
chatListNum: {
deep: true, //深度监听可见听对象中的元素变化例:obj.id
@@ -136,6 +142,16 @@
toplist.push(obj[k]);
}
if (obj[k]['userId'] && obj[k]['top'] == 'N') {
try{
var _data=JSON.parse(obj[k].content)
if(_data.type=="IMAGE"){
obj[k].content="【图片】"
}else{
console.error(_data)
}
}catch(e){
//TODO handle the exception
}
NOTtoplist.push(obj[k]);
}
}
@@ -158,7 +174,7 @@
this.$store.dispatch('tabBarpull');
},
mounted() {
this.$socketTask.connectSocket()
},
methods: {
longpressItem(e, i, v) {