<template>
  <div class="register">
    <h1 class="title">注册</h1>
    <router-view></router-view>
    <p class="back" @click="$router.push({ path: 'login', query: $route.query })">返回登录</p>
  </div>
</template>

<style lang="scss" scoped>
.back {
  margin-top: 10px;
  color: #007bad;
  line-height: 52px;
  cursor: pointer;
}
</style>
