mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 19:35:50 +00:00
no message
This commit is contained in:
parent
62f4d43bd9
commit
da84f15e9f
@ -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 == '') {
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 6580b77a9b76c6c56ef8eeb436f425d86851d91b
|
||||
Subproject commit e67edadb49ea97d4b88ce4ae3e4b5585c3a73f89
|
||||
Loading…
x
Reference in New Issue
Block a user