修复人物列表bug

This commit is contained in:
X1627315083
2024-05-17 19:41:19 +08:00
parent da14fe949a
commit 25d3d40fd1
4 changed files with 10 additions and 8 deletions

View File

@@ -90,6 +90,7 @@
<a-slider id="system_silder"
v-model:value="workspaceItem.systemDesignerPercentage"
@afterChange="systemDesigner"
:tooltip-visible="openType.slider"
:tip-formatter="formatter"
>
</a-slider>

View File

@@ -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 = []