暂存
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user