跳转
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<d-select v-model="searchType" :options="options"></d-select>
|
||||
</template>
|
||||
<template #append>
|
||||
<d-icon name="search" style="font-size: inherit;" />
|
||||
<d-icon @click="search" name="search" style="font-size: inherit;" />
|
||||
</template>
|
||||
</d-input>
|
||||
</template>
|
||||
@@ -29,7 +29,7 @@ const search = () => {
|
||||
document.querySelector('#golbalSearch').blur();
|
||||
return;
|
||||
}
|
||||
router.push({ name: 'search', query: { val: searchStr.value || '', type: route?.query?.type || 'License' }});
|
||||
router.push({ name: 'Search', query: { val: searchStr.value || '', type: route?.query?.type || 'License' }});
|
||||
};
|
||||
const handleClear = () => {
|
||||
router.push({ name: 'home' });
|
||||
|
||||
Reference in New Issue
Block a user