![](https://img-blog.csdnimg.cn/20190918140012416.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
web
web知识
致敬代码大神
这个作者很懒,什么都没留下…
展开
-
three.js的模型销毁问题注意
three.js原创 2023-03-19 15:41:08 · 1518 阅读 · 2 评论 -
ref修改dom样式遇到的问题
ref 与v-show和v-for原创 2023-03-17 23:49:34 · 532 阅读 · 0 评论 -
vue-resource用法
vue-resource安装:npm install vue-resource --save 1、get请求 this.$http.get(url,{params:{key:value}}) .then( res=>{ //请求成功回调函数 }, err=>{ //请求失败回调函数 }.原创 2021-12-19 19:00:21 · 300 阅读 · 0 评论 -
vue导航守卫
/* https://router.vuejs.org/zh/guide/advanced/navigation-guards.html 1、全局守卫(在所有路由展示前触发) router.beforeEach((to, from, next) => { //在引入router组件的页面里使用(main.js) to 即将要进入的到的路由,值为路由 from 离开的路由(从哪个路由离开),值为路由 next 值为函数,这个函数决...原创 2021-12-19 14:58:56 · 81 阅读 · 0 评论 -
vue路由的一些知识点
原创 2021-12-19 09:24:20 · 173 阅读 · 0 评论 -
Vue3优点
核心代码+composition API :13.5kb最小11.75kb所有runtime:22.5kb(Vue2是33.2kb)为何有这么大的性能提升?下面是可以看vue编译后代码的网站:Vue Template Explorer原创 2021-12-18 21:42:13 · 143 阅读 · 0 评论