Merge pull request #10441 from dataease/pr@dev@fix_view-refresh
fix(仪表板): 修复仪表板中部分视图出现错误后不再刷新问题
This commit is contained in:
commit
21fa10089f
@ -1002,7 +1002,7 @@ export default {
|
|||||||
},
|
},
|
||||||
getData(id, cache = true, dataBroadcast = false) {
|
getData(id, cache = true, dataBroadcast = false) {
|
||||||
// Err1001 已删除的不在重复请求
|
// Err1001 已删除的不在重复请求
|
||||||
if (this.requestStatus === 'waiting' || (this.message && this.message.indexOf('Err1001'))) {
|
if (this.requestStatus === 'waiting' || (this.message && this.message.indexOf('Err1001')> -1)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (id) {
|
if (id) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user