2019年6月11日
摘要:
(PHP 4 >= 4.2.0, PHP 5) pg_escape_string — 转义 text/char 类型的字符串 (PHP 4 >= 4.2.0, PHP 5) pg_escape_string — 转义 text/char 类型的字符串 说明 string pg_escape_stri
阅读全文
posted @ 2019-06-11 13:15
caigan
阅读(1083)
推荐(0)
2019年5月16日
摘要:
<script> window.onload = function(){ document.getElementById('form').submit(); } </script>解决方法Make sure that there is no name="submit" or id="submit"
阅读全文
posted @ 2019-05-16 13:01
caigan
阅读(1112)
推荐(0)
2019年5月6日
摘要:
https://www.yiibai.com/postgresql/
阅读全文
posted @ 2019-05-06 12:45
caigan
阅读(223)
推荐(0)
2019年4月25日
摘要:
1.annotation定义路由 @Route("/**",defaults={"name":"world"},requirements={"name"="\s"}) 参数要用双引号,不能用单引号。 2.执行命令php app/console doctrine:generate:entities C
阅读全文
posted @ 2019-04-25 17:16
caigan
阅读(224)
推荐(0)
2019年4月24日
摘要:
I also encountered this problem,I add new bundle namespace in composer.json"autoload": { "psr-4": { "AppBundle\\": "src/AppBundle", "BlogBundle\\": "s
阅读全文
posted @ 2019-04-24 23:35
caigan
阅读(234)
推荐(0)
2019年3月31日
摘要:
非常简单,步骤如下: 第一步: 设置->plugins->browser repositories 搜索vue.js,然后安装一下vue.js插件,重启ide。 第二步: Editor -> file types 找到vue.js Template 如下图点击 '+' 号增加 *.vue,这样就可以
阅读全文
posted @ 2019-03-31 10:21
caigan
阅读(2224)
推荐(0)
2019年3月28日
摘要:
都说Vue2简单上手容易,的确,看了官方文档确实觉得上手很快,除了ES6语法和webpack的配置让你感到陌生,重要的是思路的变换,以前用jq随便拿全局变量和修改dom的锤子不能用了,vue只用关心数据本身,不用再频繁繁琐的操作dom,注册事件、监听事件、取消事件。。。。(确实很烦)。vue的官方文
阅读全文
posted @ 2019-03-28 23:40
caigan
阅读(1407)
推荐(1)
2019年3月17日
摘要:
作者:知乎用户链接:https://www.zhihu.com/question/20721399/answer/110652118来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 复制这个链接:https://mp.weixin.qq.com/mp/profile_e
阅读全文
posted @ 2019-03-17 12:31
caigan
阅读(2217)
推荐(0)
2019年2月26日
摘要:
1.git-bash下使用命令php artisan admin:make UserController --model=App\User会报错Model does not exists 要加多一个“\”,php artisan admin:make UserController --model=A
阅读全文
posted @ 2019-02-26 22:22
caigan
阅读(881)
推荐(0)
摘要:
做项目时下载composer组件,出现killed提示,如图 一般是因为内存太小,将虚拟机内存设置大一点即可,在虚拟机关机的时候设置 下载成功
阅读全文
posted @ 2019-02-26 15:46
caigan
阅读(750)
推荐(0)