You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/07/29 08:07:09 UTC

[echarts-handbook] branch master updated: add index redirect

This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git


The following commit(s) were added to refs/heads/master by this push:
     new 6520961  add index redirect
6520961 is described below

commit 6520961468de3c2c05e468cd92cc8077351a06f4
Author: pissang <bm...@gmail.com>
AuthorDate: Thu Jul 29 16:06:09 2021 +0800

    add index redirect
---
 pages/index.vue | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/pages/index.vue b/pages/index.vue
index 2fe85c8..af5dbe8 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -7,9 +7,13 @@
 </template>
 
 <script lang="ts">
-export default {
+import Vue from 'vue'
+export default Vue.extend({
+  mounted() {
+    this.$router.push('get-started')
+  },
   async asyncData() {}
-}
+})
 </script>
 
 <style></style>

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org