Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
在输入密码界面输入四位数字或字母,正确才提示获得道具进行下一步,错误就要求重新输入,请问如何实现?
@一般通过咕某 如果用的是输入框组件,可以实时判断输入框的文本,当len(输入框.text)大于等于4(也就是输入框里的字符数是否大于等于4个字符)时判断输入框.text是否等于答案,不是的话执行清空文本框并显示密码错误,是的话就获得道具就好了