no message
This commit is contained in:
@@ -504,3 +504,5 @@ Api接口文档
|
||||
语音文件不存在
|
||||
语音转文字失败
|
||||
仅支持语音消息
|
||||
|
||||
视频
|
||||
|
||||
@@ -1608,3 +1608,6 @@ License Key
|
||||
上传本地文件
|
||||
智谱清言
|
||||
已超期
|
||||
|
||||
视频
|
||||
发起会议
|
||||
|
||||
@@ -40,11 +40,13 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
show: false,
|
||||
timeShow: null,
|
||||
timeCheck: null,
|
||||
}
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
this.show = false
|
||||
this.clearTimer()
|
||||
},
|
||||
|
||||
computed: {
|
||||
@@ -54,9 +56,12 @@ export default {
|
||||
watch: {
|
||||
ajaxNetworkException: {
|
||||
handler(v) {
|
||||
this.show = v;
|
||||
this.clearTimer()
|
||||
if (v) {
|
||||
this.checkNetwork();
|
||||
this.timeShow = setTimeout(_ => {
|
||||
this.show = true;
|
||||
}, 5000)
|
||||
}
|
||||
},
|
||||
immediate: true
|
||||
@@ -70,8 +75,8 @@ export default {
|
||||
},
|
||||
|
||||
checkNetwork() {
|
||||
this.__timer && clearTimeout(this.__timer);
|
||||
this.__timer = setTimeout(() => {
|
||||
this.timeCheck && clearTimeout(this.timeCheck);
|
||||
this.timeCheck = setTimeout(() => {
|
||||
if (!this.ajaxNetworkException) {
|
||||
return; // 已经恢复
|
||||
}
|
||||
@@ -84,6 +89,11 @@ export default {
|
||||
this.checkNetwork();
|
||||
});
|
||||
}, 3000);
|
||||
},
|
||||
|
||||
clearTimer() {
|
||||
this.timeShow && clearTimeout(this.timeShow)
|
||||
this.show = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -573,12 +573,6 @@ export default {
|
||||
this.dialogSearchKey = '';
|
||||
return;
|
||||
}
|
||||
if (this.tabActive === 'dialog') {
|
||||
// todo 日志输出对话详情信息
|
||||
if (/^info\.\d+$/.test(val)) {
|
||||
console.log(this.cacheDialogs.find(item => item.id == val.replace('info.', '')));
|
||||
}
|
||||
}
|
||||
//
|
||||
this.dialogSearchList = [];
|
||||
if (val == '') {
|
||||
|
||||
Submodule resources/mobile updated: 6580b77a9b...e67edadb49
Reference in New Issue
Block a user