摘要: 1.window.location.href=" " window.location.href = "http://www.Baidu.com"; 传参: import {getUserName,getPassword} from "@/libs/util.js"; let username = g 阅读全文
posted @ 2021-12-20 14:32 八寻宁宁 阅读(178) 评论(0) 推荐(0)
摘要: 路由跳转: 1.router-link(声明式,最简单的方法) 渲染效果相当于<a>标签 //不带参数 //name和path都行,建议用name <router-link :to="{name='login'}" replace></router-link> //replace在routre-li 阅读全文
posted @ 2021-12-20 13:49 八寻宁宁 阅读(49) 评论(0) 推荐(0)