日期:2014-05-16 浏览次数:20407 次
function summary() { if (status == 1 || status == 3) { alert('返回'); return; } judgeSave(); dispalyWaitDiv(); executeSummary(); } //可能这样比较好 function summary() { if(!check()) { alert('请检查条件') return; } judge(); waiting(); execute(); } function check() { if (status == 1 || status == 3) { return false; } return true; }