cshaptx4869 / easyadmin Goto Github PK
View Code? Open in Web Editor NEW基于ThinkPHP6.1和Layui2.8的快速开发的后台管理系统。
Home Page: http://180.163.87.6:8088/admindemo
License: MIT License
基于ThinkPHP6.1和Layui2.8的快速开发的后台管理系统。
Home Page: http://180.163.87.6:8088/admindemo
License: MIT License
执行命令 php crontab.php (windows) 或 php crontab.php start (linux)
这命令能否直接在网页触发,而不需要登录ssh进行触发?
问题描述:
问题解答:
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 源码修改:
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:
这个文件都不存在,你这上传的。。。。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.