1.Thinkphp的Action输出的JSON在IE中提示下载
在ThinkphplibcoreAction.class.php中 将两处 “header(‘Content-Type:application/json; charset=utf-8′);” 修改为 “header(‘Content-Type:text/html; charset=utf-8′);”
2.Prototype无法取得form中的提交控件
具体表现为 Form.serialize方法返回为空,无法send
// 发送表单Ajax操作,暂时不支持附件上传
| 代码如下 | 复制代码 |
| sendForm: function(formId, url, response, target, tips, effect){vars = Form.serialize(formId); this.send(url, vars, response, target, tips, effect);} //www.111com.net |
|
其原因时form和内部input不能嵌套在table表格中。
在Thinkphp的rbac中是有不少错误的,有个就是上述的原因。在PublicTpluseredit.html中form就嵌套在table中了。
还有个问题是,重置密码的input没有指定reserPWD的id。
3.sendForm is not defined
| 代码如下 | 复制代码 |
|
class="small submit"> //www.111cn.Net Uncaught ReferenceError: sendForm is not defined |
|
其错误是因为sendForm方法的调用需要引入 ThinkAjax,变成ThinkAjax.sendForm
4.rbac分页无法跳转,?&=2 没有键
需要在config.php中添加 ‘VAR_PAGE’=>’p’
韩剧再婚皇后阿里云盘全集高清1080P资源链接-韩剧再婚皇后免费阿里云盘资源下载4K高清无删减版链接
poipiku网站如何打开-poipiku官网网页版访问入口
明日方舟:终末地-云游戏畅玩入口-明日方舟:终末地-网页版在线直连地址
poki在线小游戏网页版-poki免费游戏大全入口
poki游戏入口-点开即玩-poki游戏-在线免费畅玩
原神akt大佬资源viciNeko入口链接-原神akt大佬资源网页vicineko入口链接分享