forked from FoundKeyGang/FoundKey
[Client] Fix bug
This commit is contained in:
parent
cb8663873d
commit
2f901da58c
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ export default Vue.extend({
|
|||
}).then(async ({ canceled, result: query }) => {
|
||||
if (canceled) return;
|
||||
|
||||
const q = this.q.trim();
|
||||
const q = query.trim();
|
||||
if (q.startsWith('@')) {
|
||||
this.$router.push(`/${q}`);
|
||||
} else if (q.startsWith('#')) {
|
||||
|
|
Loading…
Reference in a new issue