![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
typescript
Call_me_small_pure
吭哧吭哧吭哧
展开
-
react实现按钮级别的权限,封装ant/Button公共组件
react实现按钮级别的权限功能,封装类似ant\Button组件原创 2022-01-25 11:03:37 · 2266 阅读 · 0 评论 -
typescript在vue-cli中父子件传值
父组件<demand :state='state' @stateValue='stateValue'></demand>@Component({ components: { demand: () => import('./demand/demand.vue'), },})public state : boolean = false;//需求...原创 2018-12-04 18:27:38 · 1441 阅读 · 0 评论 -
axios取消重复请求(typeScript)
建议对照着axios官网进行学习import axios from 'axios';// 取消请求const CancelToken = axios.CancelToken;// 设置默认请求头,如果不需要可以取消这一步axios.defaults.headers = { 'Content-Type': 'application/x-www-form-urlencoded;...原创 2018-12-05 10:42:49 · 1342 阅读 · 0 评论