fix: 修复地图loading异常和列表异常的问题
This commit is contained in:
@@ -1499,8 +1499,10 @@ export default {
|
|||||||
// 加载新数据、时间轴变化时,重新查在线状态
|
// 加载新数据、时间轴变化时,重新查在线状态
|
||||||
await axios.get(api.location.list, { params }).then(async response => {
|
await axios.get(api.location.list, { params }).then(async response => {
|
||||||
if (response.status === 200) {
|
if (response.status === 200) {
|
||||||
|
this.subscribersList = []
|
||||||
if (response.data.data.length === 0 && this.curPageNum > 1) {
|
if (response.data.data.length === 0 && this.curPageNum > 1) {
|
||||||
this.curPageNum--
|
this.curPageNum--
|
||||||
|
this.loading.timeBarLoading = false
|
||||||
} else {
|
} else {
|
||||||
await this.setSubscriberActiveStatus(response.data.data)
|
await this.setSubscriberActiveStatus(response.data.data)
|
||||||
if (params.pageNo === 1) {
|
if (params.pageNo === 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user