Compare commits

...

2 Commits

Author SHA1 Message Date
f82ef91f3b bugfix 2025-08-15 17:03:53 +08:00
d7c488cda4 bugfix 2025-08-08 17:20:34 +08:00

View File

@ -1,13 +1,13 @@
from ahserver.serverenv import ServerEnv
def UiComform(title="请确认",message="请确认", binds=[]):
def UiConform(title="请确认",message="请确认", binds=[]):
return {
"widgettype":"Conform",
"options":{
"width":"50%",
"height":"50%",
"archor":"cc",
"icon": entire_url('/imgs/question.svg'),
"icon": entire_url('/bricks/imgs/question.svg'),
"title":title,
"message":message
},
@ -60,4 +60,4 @@ def load_pybricks():
g.UiWindow = UiWindow
g.UiError = UiError
g.UiMessage = UiMessage
g.UiComform = UiComform