更新 notfound.py
删除 单测模式
This commit is contained in:
@@ -37,4 +37,7 @@ def create() -> None:
|
||||
|
||||
ui.button('返回首页',
|
||||
on_click=lambda: ui.navigate.to('/')) \
|
||||
.classes('items-center w-full').props('rounded')
|
||||
.classes('items-center w-full').props('rounded')
|
||||
|
||||
if __name__ not in {"__main__", "__mp_main__"}:
|
||||
raise Exception('不支持单测模式,请从main.py启动')
|
||||
Reference in New Issue
Block a user