enhance(frontend): ユーザー検索からもハッシュタグのページを開けるように
This commit is contained in:
parent
c5d937e807
commit
16021ff3ac
1 changed files with 5 additions and 0 deletions
|
|
@ -66,6 +66,11 @@ async function search() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (query.startsWith('#') && query.length > 1) {
|
||||||
|
router.push(`/user-tags/${encodeURIComponent(query.substring(1))}`);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
userPagination.value = {
|
userPagination.value = {
|
||||||
endpoint: 'users/search',
|
endpoint: 'users/search',
|
||||||
limit: 10,
|
limit: 10,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue