axios 解决跨域问题 nginx 配置
如果报错No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://xxx.com’ is therefore not allowed access. 说明服务器端不支持跨域
其实我一直在你身边
如果报错No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://xxx.com’ is therefore not allowed access. 说明服务器端不支持跨域
解决:Uncaught ReferenceError: regeneratorRuntime is not defined
$ npm i –save-dev babel-plugin-transform-runtime
df -h 查看硬盘空间
du -sh 查看文件夹大小
du -h 查看文件夹下所有文件大小
php版本过高 导致composer install报错
composer install –ignore-platform-reqs
composer update –ignore-platform-reqs
composer update 会读取 composer.json中指定的依赖
composer install 会优先读取composer.lock,如果没有composer.lock 用法跟composer update一样
vue element 时间选择 rule验证 坑
getTime() is not a function
修改rule ,把 type: ‘date’ 去掉
el-table html标签转义
scope.row.content