This commit is contained in:
花有清香月有阴
2022-01-17 17:47:43 +08:00
parent c850ec5973
commit e77087ad50
3 changed files with 9 additions and 7 deletions

View File

@@ -129,10 +129,15 @@ export default {
.then((res) => { .then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.data = this.current > 1 ? [...this.data, ...res.data.records] : res.data.records this.data = this.current > 1 ? [...this.data, ...res.data.records] : res.data.records
} else { this.$forceUpdate()
} }
}) })
.catch(() => {}) .catch(() => {
this.$forceUpdate()
})
.finally(() => {
this.$forceUpdate()
})
}, },
getUserList() { getUserList() {

View File

@@ -151,7 +151,6 @@ export default {
padding-left: 0px; padding-left: 0px;
li { li {
list-style-type: none; list-style-type: none;
.user { .user {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
@@ -204,7 +203,6 @@ export default {
} }
} }
} }
} }
} }
} }
@@ -225,7 +223,7 @@ export default {
line-height: 80px; line-height: 80px;
text-align: center; text-align: center;
background-color: #1365DD; background-color: #1365DD;
color: #FFFFFF; color: #FFFFFF;
} }
} }
} }

View File

@@ -139,7 +139,7 @@ export default {
} }
}, },
computed: { computed: {
...mapState(['user', 'global']), ...mapState(['user']),
loadmore() { loadmore() {
return this.pages <= this.current ? 'loading ' : 'nomore' return this.pages <= this.current ? 'loading ' : 'nomore'
@@ -419,7 +419,6 @@ uni-page-body {
.myReport { .myReport {
padding-bottom: 105px; padding-bottom: 105px;
// height: 100%;
::v-deep .AiCard { ::v-deep .AiCard {
background: #f5f5f5; background: #f5f5f5;