This commit is contained in:
@fawn-nine
2024-08-26 17:35:18 +08:00
parent 57d5beaa72
commit 4792202081
21 changed files with 726 additions and 693 deletions

View File

@@ -339,10 +339,7 @@
this.getData(this.subTabId);
},
curseClick(item) {
this.subTabId = item.id
// this.classList = []
// this.page = 1
// this.getData(this.subTabId);
this.subTabId = item.id
},
async getData(state) {
// if (!this.flag) {
@@ -352,9 +349,9 @@
var _list = []
this.status = 1
// this.flag = false
uni.showLoading({
title: '正在加载'
})
// uni.showLoading({
// title: '正在加载'
// })
await $http.request({
url: "common/class/getClassByDirectorid",
method: "POST", // POST、GET、PUT、DELETE具体说明查看官方文档
@@ -387,10 +384,10 @@
}
console.log('res.classEntityList',res.classEntityList);
}
uni.hideLoading()
// uni.hideLoading()
}).catch(e => {
_list = []
uni.hideLoading()
// uni.hideLoading()
// this.flag = true
console.log(e, '数据报错')
// this.status = 3