fix: NpmMap再次请求时error未被重置

This commit is contained in:
刘洪洪
2022-12-09 14:50:10 +08:00
parent fc79feed00
commit b57dc5b055

View File

@@ -124,6 +124,7 @@ export default {
getData(api.npm.location.map, params).then(res => {
if (res.length > 0) {
// 计算分数
this.showError = false
params.country = params.country ? `'${params.country}'` : ''
const tcpRequest = get(api.npm.location.mapTcp, params)
const httpRequest = get(api.npm.location.mapHttp, params)