|
@@ -36,12 +36,12 @@ export default defineComponent({
|
|
|
const activeTab = ref('songe')
|
|
|
|
|
|
onBeforeRouteUpdate(() => {
|
|
|
- console.log('onBeforeRouteUpdate', route.fullPath)
|
|
|
+ // console.log('onBeforeRouteUpdate', route.fullPath)
|
|
|
if (route.path === '/music-songbook/search') {
|
|
|
keyword.value = ''
|
|
|
tagids.value = ''
|
|
|
|
|
|
- console.log('onBeforeRouteUpdate')
|
|
|
+ // console.log('onBeforeRouteUpdate')
|
|
|
selectTagRef.value.resetTags()
|
|
|
}
|
|
|
})
|
|
@@ -98,11 +98,7 @@ export default defineComponent({
|
|
|
onClick={() => {
|
|
|
if (route.path === '/music-songbook') {
|
|
|
router.push({
|
|
|
- path: '/music-songbook/search',
|
|
|
- query: {
|
|
|
- keyword: keyword.value,
|
|
|
- tagids: tagids.value
|
|
|
- }
|
|
|
+ path: '/music-songbook/search'
|
|
|
})
|
|
|
}
|
|
|
}}
|