Skip to content

Commit 62dfbd6

Browse files
committed
fix: fix default route path
1 parent 9030afc commit 62dfbd6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/views/Examples.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,8 @@ export default {
219219
this.dark = true
220220
}
221221
if (this.$route.path === '/examples') {
222-
// this.$router.push('/examples/helloworld').catch(err => { }) // eslint-disable-line
223222
// default route path
224-
this.$router.push('/examples/helloworld').catch(err => { }) // eslint-disable-line
223+
this.$router.push('/examples/introduction').catch(err => { }) // eslint-disable-line
225224
} else {
226225
this.$router.push(this.$route.path).catch(err => { }) // eslint-disable-line
227226
const path = this.$route.path

0 commit comments

Comments
 (0)