This commit is contained in:
syuilo
2019-04-25 07:46:39 +09:00
parent 772258b0b8
commit 0db54386cd
14 changed files with 147 additions and 90 deletions

View File

@@ -3,7 +3,7 @@ import { faHistory } from '@fortawesome/free-solid-svg-icons';
export async function search(v: any, q: string) {
q = q.trim();
if (q.startsWith('@')) {
if (q.startsWith('@') && !q.includes(' ')) {
v.$router.push(`/${q}`);
return;
}