跳转
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
<d-select v-model="searchType" :options="options"></d-select>
|
<d-select v-model="searchType" :options="options"></d-select>
|
||||||
</template>
|
</template>
|
||||||
<template #append>
|
<template #append>
|
||||||
<d-icon name="search" style="font-size: inherit;" />
|
<d-icon @click="search" name="search" style="font-size: inherit;" />
|
||||||
</template>
|
</template>
|
||||||
</d-input>
|
</d-input>
|
||||||
</template>
|
</template>
|
||||||
@@ -29,7 +29,7 @@ const search = () => {
|
|||||||
document.querySelector('#golbalSearch').blur();
|
document.querySelector('#golbalSearch').blur();
|
||||||
return;
|
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 = () => {
|
const handleClear = () => {
|
||||||
router.push({ name: 'home' });
|
router.push({ name: 'home' });
|
||||||
|
|||||||
@@ -24,7 +24,8 @@ export default [
|
|||||||
hiddenFooter: true,
|
hiddenFooter: true,
|
||||||
reportTitle: '首页',
|
reportTitle: '首页',
|
||||||
className: 'w-full min-w-full',
|
className: 'w-full min-w-full',
|
||||||
headerClassName: ''
|
headerClassName: '',
|
||||||
|
asideMenu: 'drawer' // 左侧菜单抽屉模式
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user