摘要: 在开发中用axios请求时,偶尔需要使用qs对数据做如下处理, a:[1,2,3,4] => a=1&a=2&a=3&a=4 在此记录一下 axios是自带qs因此无需再下载,可直接操作qs.stringify(params, ), import qs from 'qs ... //引用时将para 阅读全文
posted @ 2021-05-18 16:26 Monday1997 阅读(484) 评论(0) 推荐(0)
摘要: 父级 <temp> <template v-slot:slot1="slotProps"> {{slotProps.slotData}} </template> </temp> 子级 <slot name="slot1" :slotData = "'sssss'"></slot> 阅读全文
posted @ 2021-05-18 16:11 Monday1997 阅读(1455) 评论(0) 推荐(0)