Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

polysoft-nafmii / polysoft-h5

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • polysoft-h5
  • src
  • views
  • homeSearch
  • index.vue
  • sunnyfan's avatar
    checkout origin · 4a513941
    sunnyfan committed May 31, 2021
    4a513941 Browse Files
index.vue 392 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<template>
  <SearchLayout :history="true" @search="handleSearch" />
</template>

<script>
import SearchLayout from './components/SearchLayout'
export default {
  name: 'HomeSearch',
  components: { SearchLayout },
  data () {
    return {
    }
  },
  methods: {
    handleSearch (val) {
      this.$router.push({ name: 'GlobalSearchResult', query: { keyword: val } })
    }
  }
}
</script>