12 2021 档案

摘要: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 八寻宁宁 阅读(182) 评论(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 八寻宁宁 阅读(52) 评论(0) 推荐(0)
摘要:${}里包含的是你想传递的变量, 例如接口传值 url:`/terata/api/PaPatrol/deleteContent?pointUnid=${this.id}&contentUnid=${params.row.unId}` 以及输出语句时原本需要使用 var a=3,b=4; consol 阅读全文
posted @ 2021-12-04 16:25 八寻宁宁 阅读(59) 评论(0) 推荐(0)