05 2021 档案

摘要:1.路径:http://localhost:8081/#/test?name=1 <router-link :to="{path:'/test',query: {name: id}}">跳转</router-link>(id是参数) 使用:this.$route.query.id 2.路径:http 阅读全文
posted @ 2021-05-31 10:52 前端乔 阅读(1379) 评论(0) 推荐(0) 编辑
摘要:一、获取DOM元素在Vue中获取DOM元素,我们可以用ref。 用法(和React一样):(1)在组件的DOM部分,任意标签中 写上:ref="xxx"(2)通过组件对象 this.$refs.xxx 获取到元素 通过ref来获取dom元素 阅读全文
posted @ 2021-05-29 16:51 前端乔 阅读(223) 评论(0) 推荐(0) 编辑
摘要:二级路由 {path:"/mine", component: ()=>import("../views/Mine"), children: [ {path:"", component: ()=>import("../views/Default")}, {path:"info", component: 阅读全文
posted @ 2021-05-28 14:08 前端乔 阅读(41) 评论(0) 推荐(0) 编辑
摘要:1.vant组件库 https://vant-contrib.gitee.io/vant/#/zh-CN/swipe 2.elment组件库 https://element.eleme.cn/#/zh-CN/component/layout 3.Swiper插件 https://www.swiper 阅读全文
posted @ 2021-05-27 14:10 前端乔 阅读(164) 评论(0) 推荐(0) 编辑
摘要:https://github.com/bailicangdu/node-elm/blob/master/API.md 阅读全文
posted @ 2021-05-22 17:18 前端乔 阅读(588) 评论(0) 推荐(0) 编辑
摘要:一、axios中文网 http://www.axios-js.com/zh-cn/docs/index.html 阅读全文
posted @ 2021-05-22 15:02 前端乔 阅读(56) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示