search.vue
458 Bytes
<template>
<ModuleSearchLayout @onSearch="handleSearch" stateKey="SelfRegulating" />
</template>
<script>
import { KeywordBus } from '@/utils/eventBus'
import ModuleSearchLayout from '@/components/ModuleSearchLayout'
export default {
name: 'SelfRegulatingSearch',
components: { ModuleSearchLayout },
data () {
return {
}
},
methods: {
handleSearch (val) {
KeywordBus.emit(val)
this.$router.back();
}
}
}
</script>