Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Manager界面将列表拉到底后会打印非常多的not found var信息 #7

Open
ufbycd opened this issue Feb 22, 2022 · 1 comment

Comments

@ufbycd
Copy link

ufbycd commented Feb 22, 2022

如题会打印非常多的如下信息:

(0:0): get_var code=9 not found var item.selected
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.selected
@RainMic1019
Copy link

如题会打印非常多的如下信息:

(0:0): get_var code=9 not found var item.selected
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.name
(0:0): get_var code=9 not found var item.selected

@ufbycd 这是由于 table_view 控件的特性导致的,table_view 控件初始化时会提前创建好缓冲区和可视区的 item 控件,拖动滚动条时在回调函数中更新数据,在 awtk-mvvm 中, item 控件创建时就解析并保存了数据绑定规则,当滚动条拖到底后,会去获取可视区下方缓冲区控件的数据,但此时 Model 层的数组已经显示完毕,并没有这么多数据,所以就打印上述警告了。

该问题仅打印警告,不影响使用,我们会在确认解决方案后进行修复,感谢您的提问。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants