关闭window.open
This commit is contained in:
parent
36a43bf0e9
commit
7612e5ca27
@ -89,7 +89,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<div class="internet-content-provider">
|
<div class="internet-content-provider">
|
||||||
<a href="https://beian.miit.gov.cn/" target="_blank" style="color: #fff">
|
<a href="https://beian.miit.gov.cn/" style="color: #fff" target="_blank">
|
||||||
桂ICP备2024040484号-1
|
桂ICP备2024040484号-1
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@ -97,12 +97,12 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapActions, mapGetters } from 'vuex'
|
import { mapActions, mapGetters } from 'vuex'
|
||||||
import { translateTitle } from '@/utils/i18n'
|
import { translateTitle } from '@/utils/i18n'
|
||||||
import { isPassword } from 'vue-plugin-utils'
|
import { isPassword } from 'vue-plugin-utils'
|
||||||
import { URL } from '@/config'
|
import { URL } from '@/config'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Login',
|
name: 'Login',
|
||||||
directives: {
|
directives: {
|
||||||
focus: {
|
focus: {
|
||||||
@ -238,20 +238,20 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
changeCode() {
|
changeCode() {
|
||||||
window.open(
|
// window.open(
|
||||||
`https://mal1.gpxscs.cn/admin/#/login?loginInfo=JsoN.parse(J.stringify(res.data))`
|
// `https://mal1.gpxscs.cn/admin/#/login?loginInfo=JsoN.parse(J.stringify(res.data))`
|
||||||
)
|
// )
|
||||||
|
|
||||||
// this.codeUrl = `https://www.oschina.net/action/user/captcha?timestamp=${new Date().getTime()}`
|
// this.codeUrl = `https://www.oschina.net/action/user/captcha?timestamp=${new Date().getTime()}`
|
||||||
this.verify_token = new Date().getTime()
|
this.verify_token = new Date().getTime()
|
||||||
this.codeUrl = URL.verifyCode + '?verify_token=' + this.verify_token
|
this.codeUrl = URL.verifyCode + '?verify_token=' + this.verify_token
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.login-container {
|
.login-container {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
background: url('~@/assets/login_images/background.jpg') center center fixed
|
background: url('~@/assets/login_images/background.jpg') center center fixed
|
||||||
no-repeat;
|
no-repeat;
|
||||||
@ -263,9 +263,9 @@ export default {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-form {
|
.login-form {
|
||||||
position: relative;
|
position: relative;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
padding: 4.5vh;
|
padding: 4.5vh;
|
||||||
@ -406,5 +406,5 @@ export default {
|
|||||||
border-radius: $base-border-radius;
|
border-radius: $base-border-radius;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user