修复人物列表bug
This commit is contained in:
@@ -152,13 +152,13 @@ export default defineComponent({
|
||||
init(data:any){
|
||||
this.visible = true
|
||||
// this.getTaskList()
|
||||
this.isShowMark = true
|
||||
let time = 0
|
||||
let time = 100
|
||||
if(data){
|
||||
time = 1000
|
||||
}
|
||||
setTimeout(() => {
|
||||
this.currentPage = 1
|
||||
this.isShowMark = true
|
||||
this.getTaskMoreList()
|
||||
this.getTaskTime = null
|
||||
}, time);
|
||||
@@ -236,11 +236,11 @@ export default defineComponent({
|
||||
}
|
||||
Https.axiosPost(Https.httpUrls.getTasksHistory,data).then((rv)=>{
|
||||
this.isShowMark = false
|
||||
this.currentPage += 1
|
||||
if(this.currentPage > 1 && rv.content.length == 0){
|
||||
if(this.currentPage != 1 && rv.content.length == 0){
|
||||
this.currentPage = 1
|
||||
this.getTaskMoreList()
|
||||
}else{
|
||||
this.currentPage += 1
|
||||
this.taskListMore.push(...rv.content)
|
||||
this.total = rv.total
|
||||
this.taskListUnfinished = []
|
||||
|
||||
Reference in New Issue
Block a user