自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (1)
  • 收藏
  • 关注

原创 SQLSTATE[HY000] [2002] No such file or directory

SQLSTATE[HY000] [2002] No such file or directory

2017-08-12 21:05:22 1420

原创 Yii2 RESTful 422 Data Validation Failed.

问题通过 http body post 了有效的 JSON 格式数据,但是服务器返回 422 Data Validation Failed. 错误原因通过调试发现 Yii::$app->getRequest()->getBodyParams() 获取到的 body 为空,幸运地发现,是由于 post 请求的时候没有添加 Content-Type: application/json header,导致

2017-07-02 10:13:02 1304

原创 Yii2: the file or directory to be published does not exist bower/jquery/dist

问题执行 yii 的 gii 命令时发生类似如下错误the file or directory to be published does not exist bower/jquery/dist原因出现这一问题的原因是 Composer asset plugin 版本太低,需要升级解决方法参考这里 https://github.com/yiisoft/yii2/blob/master/docs/gui

2017-06-30 14:27:23 873

原创 antd-mobile 手机显示字体太大

按照 antd-mobile 指南安装之后,发现手机显示的字体偏大,其实这是因为 viewport 配置的原因,之前额配置是<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">改为如下配置之后,就一切正常了<meta name="viewp

2017-06-28 14:46:04 3162

原创 webpack-dev-server 只能通过 localhost 访问?

webpack-dev-server 通过ip访问默认情况下 webpack-dev-server 只能通过 localhost 访问,如果需要通过 ip 地址访问,修改 npm 配置文件中的 scripts 属性中对应的启动脚本,例如 start 或 dev 项,在配置项后面添加 --host 192.168.0.168 ,例如:"scripts": { "serve:dev": "web

2017-06-28 14:07:49 8707

原创 __webpack_require__(...) is not a function

源码require('redux-immutable-state-invariant')()错误uncaught TypeError: __webpack_require__(...) is not a function解决方案尝试在 require 语句后面添加 .default ,如下所示require('redux-immutable-state-invariant').default()

2017-06-24 16:48:32 19126 4

101 Formulaic Alphas .pdf

101 Formulaic Alphas

2020-04-04

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除