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
阅读全文
摘要:一、获取DOM元素在Vue中获取DOM元素,我们可以用ref。 用法(和React一样):(1)在组件的DOM部分,任意标签中 写上:ref="xxx"(2)通过组件对象 this.$refs.xxx 获取到元素 通过ref来获取dom元素
阅读全文
摘要:二级路由 {path:"/mine", component: ()=>import("../views/Mine"), children: [ {path:"", component: ()=>import("../views/Default")}, {path:"info", component:
阅读全文
摘要: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
阅读全文
摘要:https://github.com/bailicangdu/node-elm/blob/master/API.md
阅读全文
摘要:一、axios中文网 http://www.axios-js.com/zh-cn/docs/index.html
阅读全文