Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当输入字段依赖于实时操作时,它在设置新值后无法更新,即
inputfield1 setValue: 'state2'.
似乎它正在等待屏幕刷新才能做到这一点。
所以问题是,如果软件将新值设置为与用户相反,更新输入字段的显示需要什么?
想通了,我必须通过直接分配给它来设置值,而不是使用方法 setValue
inputfield1 value: 'state2'.