程序停留在了这个页面,if(win.getComponent('staffForm').form.isValid()){
win.getComponent('staffForm').form.submit({
url:'index.php?filename=login&action=login',
waitTitle:'提示',
method: 'POST',
waitMsg:'正在登录验证,请稍候...',
success:function(form,action){
var loginResult = action.result.success;
if(loginResult == false){
alert(action.result.message);
} else if(loginResult == true){
window.location.href='./index.php';
}
} ,
failure: function(form,action) {
//alert('登录系统失败,请与管理员联系.');
Ext.MessageBox.alert('提示', action.result.msg);
win.getComponent('staffForm').form.reset();
//alert(action.result.result);
}
})
}
提示“
正在登录验证,请稍候”会不会是因为这一句win.getComponent('staffForm').form.isValid,在win上能够正常读取,但在linux上对表单无法正常读取了,该怎么修改?谢谢了。
win.getComponent('staffForm').form.submit({
url:'index.php?filename=login&action=login',
waitTitle:'提示',
method: 'POST',
waitMsg:'正在登录验证,请稍候...',
success:function(form,action){
var loginResult = action.result.success;
if(loginResult == false){
alert(action.result.message);
} else if(loginResult == true){
window.location.href='./index.php';
}
} ,
failure: function(form,action) {
//alert('登录系统失败,请与管理员联系.');
Ext.MessageBox.alert('提示', action.result.msg);
win.getComponent('staffForm').form.reset();
//alert(action.result.result);
}
})
}
提示“
正在登录验证,请稍候”会不会是因为这一句win.getComponent('staffForm').form.isValid,在win上能够正常读取,但在linux上对表单无法正常读取了,该怎么修改?谢谢了。
LZ检查一下代码
我的感觉是路径存在问题,但是又不知怎么解决?