This commit is contained in:
yumoqing 2024-01-31 22:36:18 +08:00
parent c8632d3df3
commit fa41aace4c

View File

@ -153,13 +153,11 @@ class TemplateProcessor(BaseProcessor):
class BricksUIProcessor(TemplateProcessor):
@classmethod
def isMe(self,name):
print('name=', name, 'i am bui')
return name=='bui'
async def datahandle(self, request):
params = await self.resource.y_env['request2ns']()
await super().datahandle(request)
print(f'{self.content=}')
if params.get('_webbricks_',None):
return
txt = self.content