fix(client): fix wrong link in tutorial

Fix #9456
This commit is contained in:
syuilo 2023-01-02 13:19:32 +09:00
parent d98771711f
commit 6e0c39b1d7
4 changed files with 10 additions and 5 deletions

View File

@ -74,6 +74,7 @@ You should also include the user name that made the change.
- Client: Webhookの編集画面で、内容を保存することができない問題を修正 @m-hayabusa - Client: Webhookの編集画面で、内容を保存することができない問題を修正 @m-hayabusa
- Client: update emoji picker immediately on all input @saschanaz - Client: update emoji picker immediately on all input @saschanaz
- Client: チャートのツールチップが画面に残ることがあるのを修正 @syuilo - Client: チャートのツールチップが画面に残ることがあるのを修正 @syuilo
- Client: fix wrong link in tutorial @syuilo
## 12.119.1 (2022/12/03) ## 12.119.1 (2022/12/03)
### Bugfixes ### Bugfixes

View File

@ -43,11 +43,14 @@ import { i18n } from '@/i18n';
import { instance } from '@/instance'; import { instance } from '@/instance';
import XUserList from '@/components/MkUserList.vue'; import XUserList from '@/components/MkUserList.vue';
const props = defineProps<{ const props = withDefaults(defineProps<{
tag?: string; tag?: string;
}>(); initialTab?: string;
}>(), {
initialTab: 'featured',
});
let tab = $ref('featured'); let tab = $ref(props.initialTab);
let tagsEl = $ref<InstanceType<typeof MkFolder>>(); let tagsEl = $ref<InstanceType<typeof MkFolder>>();
let searchQuery = $ref(null); let searchQuery = $ref(null);
let searchOrigin = $ref('combined'); let searchOrigin = $ref('combined');

View File

@ -36,10 +36,10 @@
<div>{{ i18n.ts._tutorial.step5_1 }}</div> <div>{{ i18n.ts._tutorial.step5_1 }}</div>
<I18n :src="i18n.ts._tutorial.step5_2" tag="div"> <I18n :src="i18n.ts._tutorial.step5_2" tag="div">
<template #featured> <template #featured>
<MkA class="_link" to="/featured">{{ i18n.ts.featured }}</MkA> <MkA class="_link" to="/explore">{{ i18n.ts.featured }}</MkA>
</template> </template>
<template #explore> <template #explore>
<MkA class="_link" to="/explore">{{ i18n.ts.explore }}</MkA> <MkA class="_link" to="/explore#users">{{ i18n.ts.explore }}</MkA>
</template> </template>
</I18n> </I18n>
<div>{{ i18n.ts._tutorial.step5_3 }}</div> <div>{{ i18n.ts._tutorial.step5_3 }}</div>

View File

@ -207,6 +207,7 @@ export const routes = [{
}, { }, {
path: '/explore', path: '/explore',
component: page(() => import('./pages/explore.vue')), component: page(() => import('./pages/explore.vue')),
hash: 'initialTab',
}, { }, {
path: '/search', path: '/search',
component: page(() => import('./pages/search.vue')), component: page(() => import('./pages/search.vue')),