<template>
<!-- success-url可以为本站的一个空白页,其内容见后面示例 -->
<bk-paas-login ref="login" login-url="xxx" success-url="xxx"></bk-paas-login>
</template>
<script>
import BkPaasLogin from '@blueking/paas-login'
export default {
components: { BkPaasLogin },
mounted () {
window.LoginModal = this.$refs.login
}
}
</script>
<!-- login_success.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<script>
window.parent.location.reload()
</script>
</body>
</html>