diff --git a/src/components/order/failed.vue b/src/components/order/failed.vue index f8e1ab0..d04ce6e 100644 --- a/src/components/order/failed.vue +++ b/src/components/order/failed.vue @@ -42,11 +42,11 @@ - - - + + + - + diff --git a/src/components/user/statistics.vue b/src/components/user/statistics.vue index 89ebb3d..c8382d1 100644 --- a/src/components/user/statistics.vue +++ b/src/components/user/statistics.vue @@ -317,7 +317,10 @@ export default { this.loading = true this.$api.get(this.$api.phpURL + 'manager/UserFollow/getList', {PageIndex: this.searchModel.PageIndex, search: this.searchModel}).then(res => { this.retData.Data = res.data.list - this.retData.TotalCount = parseInt(res.data.count) + // eslint-disable-next-line eqeqeq + if (res.data.count != 0) { + this.retData.TotalCount = parseInt(res.data.count) + } this.types = res.data.types this.loading = false })