Commit 713a9a9a by 匡雅琴

排名跳转打开新页签

1 parent 2fe3a373
...@@ -105,7 +105,16 @@ export default { ...@@ -105,7 +105,16 @@ export default {
// 跳转太阳膜详情页 // 跳转太阳膜详情页
goDetailPage(item) { goDetailPage(item) {
console.log(item) console.log(item)
this.$router.push({ path: `solarDetail?merchantid=${item.merchantid}&merchantname=${item.merchantname}&purchaseType=${this.purchase.value}` }) // this.$router.push({ path: `solarDetail?merchantid=${item.merchantid}&merchantname=${item.merchantname}&purchaseType=${this.purchase.value}` })
const routeData = this.$router.resolve({
name: 'solarDetail',
query: {
merchantid: item.merchantid,
merchantname: item.merchantname,
purchaseType: this.purchase.value
}
})
window.open(routeData.href, '_blank')
}, },
// 点击外部控制排名下拉隐藏 // 点击外部控制排名下拉隐藏
clickOutside() { clickOutside() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!