|
cannot read property 'off ' undefined 不知道为什么会报错这个,看不懂。
以下是我写的代码
var phoneInput = this.comp("nameInput").val();
var passwordInput = this.comp("passwordInput").val();
var userData = this.comp("baasData1");
userData.clear();
userData.find(['fusername'], [phoneInput], true,true,true);
if (userData.count() > 0) {
justep.Util.hint("登录成功");
justep.Shell.showPage("$UI/myapp/main.w");
}
新手求指导。
|
|