fix: 优化npm 评分图表的刷新反馈
This commit is contained in:
@@ -216,12 +216,16 @@ export default {
|
||||
}
|
||||
})
|
||||
this.tableData = tableData
|
||||
}).finally(() => {
|
||||
this.toggleLoading(false)
|
||||
})
|
||||
} else {
|
||||
this.tableData = []
|
||||
this.isNoData = true
|
||||
this.toggleLoading(false)
|
||||
}
|
||||
}).finally(() => {
|
||||
}).catch(e => {
|
||||
console.error(e)
|
||||
this.toggleLoading(false)
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user