bug
This commit is contained in:
parent
1f7dfcfffa
commit
a6ab7776e0
@ -559,6 +559,7 @@ export class HistoryDetail extends Component {
|
|||||||
if (idx == this.data.panDetails.length - 1) {
|
if (idx == this.data.panDetails.length - 1) {
|
||||||
// console.log("已全部生成完")
|
// console.log("已全部生成完")
|
||||||
this.hideLoading()
|
this.hideLoading()
|
||||||
|
this.item_detail.removeFromParent()
|
||||||
this.scrollControl.jumpToPage(0)
|
this.scrollControl.jumpToPage(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -566,7 +567,6 @@ export class HistoryDetail extends Component {
|
|||||||
await waitNextFrame();
|
await waitNextFrame();
|
||||||
})
|
})
|
||||||
|
|
||||||
this.item_detail.removeFromParent()
|
|
||||||
this.scrollControl.vert_scrollView = this.list_detail.content.children[0].getComponent(ScrollView)
|
this.scrollControl.vert_scrollView = this.list_detail.content.children[0].getComponent(ScrollView)
|
||||||
this.list_detail.node.active = true
|
this.list_detail.node.active = true
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user