Merge pull request #10441 from dataease/pr@dev@fix_view-refresh

fix(仪表板): 修复仪表板中部分视图出现错误后不再刷新问题
This commit is contained in:
王嘉豪 2024-06-21 17:24:23 +08:00 committed by GitHub
commit 21fa10089f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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) {