fix(仪表板): 修复仪表板中部分视图出现错误后不再刷新问题

This commit is contained in:
wangjiahao 2024-06-21 17:22:40 +08:00
parent 52ae80c6dd
commit dad5403564

View File

@ -1002,7 +1002,7 @@ export default {
},
getData(id, cache = true, dataBroadcast = false) {
// Err1001
if (this.requestStatus === 'waiting' || (this.message && this.message.indexOf('Err1001'))) {
if (this.requestStatus === 'waiting' || (this.message && this.message.indexOf('Err1001')> -1)) {
return
}
if (id) {