We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// 如果这样执行,只有默认的["dataType", "error", "type"] kit.ajaxConstant();
val = {beforeSend:fn1, complete:fn2}; kit.ajaxConstant(val);
一般用法流程(完整版)
// temp 中这两个方法通用 // 静态方法 var temp = kit.ajaxConstant({ beforeSend: function() { // somecode }, complete: function() { // somecode } }); // 需要url,data,success temp({ url: kModel.get("tableUrl"), data: kModel.get("tableParam"), success: function(resp) { console.log(resp) } });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
kit.ajaxConstant AJAX步骤
The text was updated successfully, but these errors were encountered: