![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
沵算what。
这个作者很懒,什么都没留下…
展开
-
This version of tar is no longer supported, and will not receive security updates.
Vue安装node-sass报以下错误,可能是因为node版本过高可以尝试降到@10.16.0版本npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.node版本查看/修改方法1.先查看当前版本node -v2.全局下载 n npm install -g n,mac如果权限不够可以原创 2022-05-04 23:34:25 · 3903 阅读 · 0 评论 -
axios 请求后端接口设置请求头header
前端axios请求后台接口, 为了防止用户退出登录或者token超时。前端设置请求拦截器 ,请求头header携带token传给后端 后端拿到token进行校验。前端:后端express 写入全局方法拦截除了注册、登录以外的所有接口这样就好了!...原创 2020-01-07 15:49:26 · 1919 阅读 · 0 评论 -
vue watch监听父组件传过来的数据,动态调用子组件的方法
Vue watch监听父组件传过来的数据,动态调用子组件的方法vue模糊查询,父组件通过props传值给子组件,子组件通过watch监听数据变化,动态调用方法。看代码片段子组件//接收的值props:{searchValue:''}//监听数据变化调用方法watch:{ searchValue(){ this.search_Book(); }...原创 2019-10-10 15:29:53 · 3096 阅读 · 0 评论