[Question]
#2150
Replies: 1 comment 3 replies
-
Because class QuickFacebookAccountPage(UserControl):
def __init__(self, parent: Page):
super().__init__()
self.parent = parent
def did_mount(self):
self.initData()
def initData(self):
tt = self.page.client_storage.get("GroupMsg")
print(tt)
def build(self):
return Text("666") |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I want to obtain configuration data through “self.page.client_storage.get("GroupMsg")” when loading UserControl, but I keep getting errors: 'NoneType' object has no attribute 'client_storage'
Code sample
Error message
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions