<template>
  <div>
    <router-view @success="handleSuccess" :hasCodeLogin="false"></router-view>
    <!-- <div class="new-user" @click="$router.push('../register')">我是新用户?</div> -->
  </div>
</template>

<script>
export default {
  methods: {
    handleSuccess(response) {
      const { url } = webConf.others.wmp
      window.location.href = url
    }
  }
}
</script>

<style lang="scss" scoped>
.new-user {
  font-size: 16px;
  font-weight: bold;
  color: rgba(255, 158, 100, 1);
  text-align: center;
  padding-top: 30px;
  text-decoration: underline;
}
</style>
