[update] 首页增加跳转到一般检索
This commit is contained in:
@@ -1,20 +1,21 @@
|
||||
<template>
|
||||
<div>敬请期待</div>
|
||||
<!--<div>敬请期待</div>-->
|
||||
<div>
|
||||
<a-button @click="toSearchWindow">跳转一般检索</a-button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'Analysis',
|
||||
data () {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
created () {
|
||||
|
||||
},
|
||||
methods: {
|
||||
|
||||
// 点击跳转到检索页
|
||||
toSearchWindow () {
|
||||
const { href } = this.$router.resolve({
|
||||
path: '/generalSearch'
|
||||
})
|
||||
window.open(href, '_blank')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user