<template>
    <div class="child-two">
        <h1>子页面二</h1>
        <h1>用户名：{{$route.query.username}}</h1>
        <h1>用户年龄:{{$route.query.age}}</h1>
    </div>
</template>
<script>
export default {
    mounted() {
        console.log(this.$route.query.username)
    },
}
</script>