logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

websocket封装,心跳检测、超时重连

websocket封装,心跳检测、超时重连

#websocket#javascript#html5
Vue中使用$router传参,$route获取参数

1、//$router : 是路由操作对象,只写对象 //$route : 路由信息对象,只读对象//操作 路由跳转this.$router.push({name:'hello',params:{name:'word',age:'11'}})//读取 路由参数接收this.name = this.$route.params.name;this.age = this.$route.params.ag

到底了