fix
This commit is contained in:
@@ -140,7 +140,7 @@ class ASEngineClient:
|
|||||||
cb = route_info['callback'] # 已经绑定过 entry
|
cb = route_info['callback'] # 已经绑定过 entry
|
||||||
init = route_info.get('init_data')
|
init = route_info.get('init_data')
|
||||||
try:
|
try:
|
||||||
cb(self, entry=entry, data=data, init_data=init) # 传递关键字参数
|
cb(self, entry, data=data, init_data=init) # 传递关键字参数
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Callback error on route '{_route}': {e}")
|
print(f"Callback error on route '{_route}': {e}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user