摘要: 织梦dede 5.7系统基本参数无法修改保存,总是提示Token mismatch! 最开始以为是文件权限问题,反复给权限无法解决。 百度了下,也没有好用的方法 最后还是要自己动手 在dede/sys_info.php 54行找到对应的内容 根据代码判断是 $token变量问题 打印出来的token 阅读全文
posted @ 2019-08-07 09:53 nigou 阅读(1627) 评论(0) 推荐(0) 编辑
摘要: 最近在处理一些微擎的东西, 里面有些表单处理组件比较方便, 要是有select的就更好了.... 公用 tpl_form_field_datetpl_form_field_clocktpl_form_field_daterangetpl_form_field_calendartpl_form_fie 阅读全文
posted @ 2018-05-07 09:19 nigou 阅读(784) 评论(0) 推荐(0) 编辑
摘要: 只有IE出现这种情况需要设置 Header set Cache-Control "max-age=2592000" Header set Pragma "Pragma" Header set Access-Control-Allow-Origin "*" ForceType image/pjp... 阅读全文
posted @ 2015-10-22 13:41 nigou 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 已知问题网上几乎所有关于打印的都是老旧的IE下的打印,调用ActiveX,原生态的浏览器没有办法控制打印各种选项,在IE FF Chrome以及更多浏览器下,通用的只有window.print打印样式都是用 @media print{}指定, 其实一共就三类 : all print screen,其... 阅读全文
posted @ 2015-09-11 11:36 nigou 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 好多朋友找不到对应的位置, 大概是因为echarts版本更新 这里以2.2.7为例 echarts的边框axisLine默认的样式只有实现,虚线,双实线几种,现在有需求要求边线变成箭头形状,echarts本身不支持,不过因为画箭头只是最简单的水平或者垂直的实线加上两个短线段,所以直接修改echart 阅读全文
posted @ 2015-09-01 14:06 nigou 阅读(46517) 评论(5) 推荐(0) 编辑
摘要: 1 var bind_name = 'input';2 if (navigator.userAgent.indexOf("MSIE") != -1){3 bind_name = 'propertychange';4 }5 //文本框编辑事件6 ... 阅读全文
posted @ 2015-07-17 11:15 nigou 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 初步方案1 js 使用原生websocket或jquery socket 考虑使用socket.io.js2 html /flash3 纯web事件 阅读全文
posted @ 2015-06-08 15:05 nigou 阅读(118) 评论(0) 推荐(0) 编辑
摘要: dwz默认是拦截submit事件的.这样常见的绝大部分编辑器因为也需要再submit的时候同步,就会导致内容失效.所以需要在submit之前加上同步事件.function sycn(){ $("#content").val( editor.codemirror.getValue() )... 阅读全文
posted @ 2015-05-29 09:23 nigou 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 1 function pr($obj, $exit = false){ 2 if($obj){ 3 echo ""; 4 print_r($obj); 5 echo ""; 6 } 7 if($exit){ 8... 阅读全文
posted @ 2015-05-28 09:56 nigou 阅读(196) 评论(0) 推荐(0) 编辑
摘要: function list_to_tree($list, $pk='id',$pid = 'pid',$child = '_child',$root=0){ // 创建Tree $tree = array(); if(is_array($list)) { // 创建基... 阅读全文
posted @ 2015-05-28 09:55 nigou 阅读(607) 评论(0) 推荐(0) 编辑