This commit is contained in:
syuilo
2018-02-22 03:11:24 +09:00
parent 937b6539e0
commit 5daae05bcf
8 changed files with 30 additions and 7 deletions

View File

@@ -78,7 +78,7 @@ export default Vue.extend({
search() {
const query = window.prompt('%i18n:mobile.tags.mk-ui-nav.search%');
if (query == null || query == '') return;
this.page('/search?q=' + encodeURIComponent(query));
this.$router.push('/search?q=' + encodeURIComponent(query));
},
onReadAllNotifications() {
this.hasUnreadNotifications = false;