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
问题描述:
问题解答:
easyadmin 中修改了 layui.all.js 源文件 return "function" == typeof e.templet ? e.templet(l) : i(t(e.templet).html() || String(a)).render(l) 的 e.templet(l) 为 e.templet(l, e)
return "function" == typeof e.templet ? e.templet(l) : i(t(e.templet).html() || String(a)).render(l)
easyadmin 总计有两处 layui 2.5.6 源码修改:
parseTempData = function(item3, content, tplData, text){ //表头数据、原始内容、表体数据、是否只返回文本 var str = item3.templet ? function(){ return typeof item3.templet === 'function' ? item3.templet(tplData, item3) // 改动处:此处需额外传入 item3 参数 : laytpl($(item3.templet).html() || String(content)).render(tplData) }() : content; return text ? $('<div>'+ str +'</div>').text() : str; }
search: function(){ var obj = {} ,search = (href ? function () { var path = (href.match(/\?.+/) || [])[0] || ''; return path.replace(/\#.+/, '')} () // 改动处:此处增加#后面的字符串去除 : location.search ).replace(/^\?+/, '').split('&'); //去除 ?,按 & 分割参数 //代码省略... }()
Tips:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
问题描述:
问题解答:
easyadmin 中修改了 layui.all.js 源文件
return "function" == typeof e.templet ? e.templet(l) : i(t(e.templet).html() || String(a)).render(l)
的 e.templet(l) 为 e.templet(l, e)easyadmin 总计有两处 layui 2.5.6 源码修改:
Tips:
The text was updated successfully, but these errors were encountered: