<template>
  <div>
    这是首页
    <!-- 不能用a标签 -->
    <!-- <a href="/foo">到foo</a> -->
    <!-- <router-link to="/foo">到foo</router-link> -->
    <button>用js跳转</button>
    <router-link :to="{path:'/foo',query:{name:123,age:234,asda:1411}}">到foo</router-link>
  </div>
</template>
<script>
export default {
    methods:{

    }
}
</script>