This commit is contained in:
2025-05-25 23:38:58 +05:00
parent cedb00bb4c
commit b024ea50b2
9 changed files with 209 additions and 35 deletions

View File

@@ -4,11 +4,12 @@ import designer as ds
def main(page: ft.Page):
page.title = "COPP"
def PageLoading(route):
def PageLoading(route={}):
print(page.route)
page.views.clear()
page.views.append(ViewsHendler(page=page)[page.route])
page.update()
page.on_route_change = PageLoading
page.go("/")