update
This commit is contained in:
@@ -5,6 +5,7 @@ import { GButton } from "db://assets/Scripts/Main/Common/GButton";
|
||||
import { NavigationManager, PanelType } from "../../manager/NavigationManager";
|
||||
import { NavigationBtn } from "../items/NavigationBtn";
|
||||
import { ChatHistoryManager } from "../../manager/ChatHistoryManager";
|
||||
import { PastGirlListPanel } from "./PastGirlListPanel";
|
||||
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@@ -58,7 +59,15 @@ export class NavigationPanel extends li_BaseView {
|
||||
);
|
||||
GButton.BandClick(
|
||||
this.pastGirlListBtn.node,
|
||||
() => NavigationManager.Instance.switchToPanel(PanelType.PAST_GIRL_LIST),
|
||||
() => {
|
||||
NavigationManager.Instance.switchToPanel(
|
||||
PanelType.PAST_GIRL_LIST,
|
||||
false,
|
||||
(panel) => {
|
||||
panel.getComponent(PastGirlListPanel).refresh();
|
||||
}
|
||||
);
|
||||
},
|
||||
this
|
||||
);
|
||||
GButton.BandClick(
|
||||
|
||||
Reference in New Issue
Block a user