摘要: 今天有人问到下面这样一个问题 他想要的效果: 而他做出来的效果是: 他这个是flex布局,完了外层的盒子给了个 justify-content: space-between; 样式,这样大盒子里每个小视图块就均分了,但是换行后假如每行只能排4个,如果下一行不够4个,被两端对齐。 给出我的做法: 1、 阅读全文
posted @ 2020-12-29 15:51 格の调 阅读(2390) 评论(0) 推荐(1)
摘要: axios 最常用的功能之一,拦截器 axios.interceptors.response.use( response => { let {data: json} = response let resp = json if(resp.code 200) return resp; throw new 阅读全文
posted @ 2020-12-29 13:16 格の调 阅读(133) 评论(0) 推荐(0)