05 2020 档案

摘要:import { history } from 'umi'; 以下的不正确,更换成了 history 阅读全文
posted @ 2020-05-28 21:57 winyh 阅读(2425) 评论(0) 推荐(0) 编辑
摘要:name 值 需要为 数组 file[] (单图时只需要 file) content-type 类型为 : form-data 阅读全文
posted @ 2020-05-27 17:21 winyh 阅读(806) 评论(0) 推荐(0) 编辑
摘要:子组件 actionHandle(type, record) { this.$emit('action', type, record, bool => { if (bool) { alert('success!') this.getTableData() } }) }, 父组件 onAction(t 阅读全文
posted @ 2020-05-26 18:45 winyh 阅读(284) 评论(0) 推荐(0) 编辑
摘要:场景描述 1.后台用laravel 监听的 80 端口,前端页面用 blade 模板生产, laravel 路由访问 (www.main.com) 2.后端用 ant-design-pro, 构建后 用 express 部署, pm2 守护进程,在 5050 端口启动 3.子域名 admin.mai 阅读全文
posted @ 2020-05-26 11:32 winyh 阅读(5325) 评论(6) 推荐(0) 编辑
摘要:Exceptions/handle protected function unauthenticated($request, AuthenticationException $exception) { if(!$request->expectsJson()){ return response()-> 阅读全文
posted @ 2020-05-21 10:52 winyh 阅读(678) 评论(0) 推荐(0) 编辑
摘要:1.执行命令: git config --global credential.helper store 这个时候~/.gitconfig文件中会多一行 [credential]helper = store 2.再次执行git pull 输入账号密码 此时你会看到/root/.git-credenti 阅读全文
posted @ 2020-05-18 07:54 winyh 阅读(1710) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-05-16 10:34 winyh 阅读(379) 评论(0) 推荐(0) 编辑
摘要:Invalid prop: custom validator check failed for prop "pagination". this.pagination = { ...this.pagination, total: res.data.totalCount } 错误原因: res.data 阅读全文
posted @ 2020-05-08 17:33 winyh 阅读(9289) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示