This commit is contained in:
liuye
2024-08-06 16:41:52 +08:00
parent 57ea58d8b7
commit 9ffcd953c4

View File

@@ -145,6 +145,7 @@ export default {
}, },
onPullDownRefresh() { onPullDownRefresh() {
if(this.current > this.pages) { if(this.current > this.pages) {
uni.stopPullDownRefresh()
return this.$u.toast('没有更多记录') return this.$u.toast('没有更多记录')
} }
this.current = this.current + 1 this.current = this.current + 1
@@ -272,6 +273,7 @@ export default {
if(!this.token) { if(!this.token) {
return this.$u.toast("请先进行登录") return this.$u.toast("请先进行登录")
} }
uni.stopPullDownRefresh()
this.$loading() this.$loading()
this.$instance.post(`/app/appaicopilotinfo/list?current=${this.current}&size=10&aiConfigId=${this.aiConfigId}`).then(res => { this.$instance.post(`/app/appaicopilotinfo/list?current=${this.current}&size=10&aiConfigId=${this.aiConfigId}`).then(res => {
if(res.code == 0 && res.data.records.length) { if(res.code == 0 && res.data.records.length) {
@@ -513,7 +515,7 @@ page {
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
background-color: #fff; background-color: #fff;
padding: 32px 32px 364px; padding: 64px 32px 364px;
.send-time { .send-time {
display: block; display: block;
width: 100%; width: 100%;