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