上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页
摘要: 初识api-platform: 都0202年了,整天还在用php一遍又一遍的写crud api吗?还在为构建restfull风格api而烦恼吗?那么,symfony的衍生框架api-platform你值得拥有。 东西很强大,只是国内好像用的人不是很多,只有英文文档也难怪(不过现在机翻这么强大,这都不 阅读全文
posted @ 2020-06-05 16:54 我的五年 阅读(22) 评论(0) 推荐(0)
摘要: 特殊字符法 特殊字符+deep法 直接deep法 常规法 直接用如下代码示例吧: data(){ return { goBackHeader:'添加排班', scheduleForm:{ scheduleName:null, scheduleSimpleName:null, departId:nul 阅读全文
posted @ 2020-05-26 16:24 我的五年 阅读(10) 评论(0) 推荐(0)
摘要: 附: 五种开源协议的比较(BSD,Apache,GPL,LGPL,MIT) 阅读全文
posted @ 2020-05-22 09:53 我的五年 阅读(24) 评论(0) 推荐(0)
摘要: vue报错:Property or method "attendanceDetaill" is not defined on the instance but referenced during render. Make sure that this property is reactive, ei 阅读全文
posted @ 2020-05-14 12:02 我的五年 阅读(23) 评论(0) 推荐(0)
摘要: nodejs检查端口是否被占用,先看个运行效果: E:\wamp64\www\tmpPro\tryuseport>node t.js 端口:8022被占用 端口:8023被占用 端口:8024可用 没错,它会一直递归检测端口是否可用,直到可用。 代码: const net = require('ne 阅读全文
posted @ 2020-04-05 14:00 我的五年 阅读(289) 评论(0) 推荐(0)
摘要: layui动态渲染,初始化默认值 var html = ''; html += '<select name="" lay-search lay-verify="required" lay-filter="iconTypeSelecter" >'; data.forEach(function(elem 阅读全文
posted @ 2020-03-18 10:27 我的五年 阅读(238) 评论(0) 推荐(0)
摘要: php -S ip:port 命令可以开启一个纯php的web服务,如: php -S 127.0.0.1:8080 # ip指定为localhost也是可以的 tips:端口号必填,服务的根目录即为当前目录。 # 另外: php -r 'code···' 可以直接在命令行里运行你的php代码 比如 阅读全文
posted @ 2020-03-14 23:13 我的五年 阅读(62) 评论(0) 推荐(0)
摘要: 报错: Catchable Fatal Error: Object of class App\Entity\ProjectType could not be converted to string 版本:symfony5.0 解决办法: 在对应的Entity里添加public __toString方 阅读全文
posted @ 2020-03-10 16:32 我的五年 阅读(19) 评论(0) 推荐(0)
摘要: 之前用symfony3.4,最近上手symfony5发现加入了很多新特性,搭配easyadminBundle、api-platform这些用起来感觉简直如有神助,瞬间爱了。 不过api-platform还没太弄明白,有用这个的可以给分享下文档,官网文档好多地方说的太简略了。||| 面记一些使用时遇到 阅读全文
posted @ 2020-03-08 19:58 我的五年 阅读(29) 评论(0) 推荐(0)
摘要: 原文: 关于用nw(node-webkit)开发windows桌面软件遇到的问题,包括nw项目打包、win10 C盘读写文件没权限等问题的解决方法 - 搜栈网 (seekstack.cn)https://www.seekstack.cn/post/783 阅读全文
posted @ 2020-02-26 17:54 我的五年 阅读(10) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页