会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
body { color: #000; background: url(http://images2015.cnblogs.com/blog/969197/201703/969197-20170325160900815-1058599404.jpg ) fixed; background-size: 100%; background-repeat: no-repeat; font-family: "Helvetica Neue",Helvetica,Verdana,Arial,sans-serif; font-size: 12px; min-height: 101%; }
樊鹏凯的博客
博客园
首页
新随笔
联系
订阅
管理
2021年8月14日
vue 中新窗口打开vue页面 (this.$router.resolve)
摘要: 1.router.js内写跳转的新页面的路由 2.在点击跳转的事件内写 复制代码 outsideLink () { let {href}= this.$router.resolve({ path: "/newLinkPage", }); window.open(href, '_blank'); }
阅读全文
posted @ 2021-08-14 15:45 BestRiven666
阅读(175)
评论(0)
推荐(0)
公告