混淆,改动代码

This commit is contained in:
GYJ
2024-12-21 10:38:04 +08:00
parent a7f6209b08
commit f87a4b285e
34 changed files with 780 additions and 782 deletions

View File

@@ -69,13 +69,13 @@
limit: this.limit,
}
this.$u.api.selectCourse(data).then(res => {
if (res.code == 0) {
if (res.code === 0) {
res.data.list.forEach(ret => {
if (ret.avatar) {
ret.avatar = ret.avatar.split(',')
}
})
if (this.page == 1) {
if (this.page === 1) {
this.courseList = res.data.list
uni.stopPullDownRefresh();
return