jpa修改用户死循环、参数
This commit is contained in:
@@ -35,8 +35,14 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
title: '诺力开发平台',
|
||||
logo: Logo
|
||||
logo: Logo,
|
||||
title_param: 'platform'
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getValueByCode(this.title_param).then(res => {
|
||||
this.title = res.value
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="login" :style="'background-image:url('+ Background +');'">
|
||||
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" label-position="left" label-width="0px" class="login-form">
|
||||
<h3 class="title">
|
||||
诺力开发平台</h3>
|
||||
{{title}}</h3>
|
||||
<el-form-item prop="username">
|
||||
<el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号">
|
||||
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
|
||||
@@ -50,6 +50,8 @@ export default {
|
||||
name: 'Login',
|
||||
data() {
|
||||
return {
|
||||
title: '诺力开发平台',
|
||||
title_param: 'platform',
|
||||
Background: Background,
|
||||
codeUrl: '',
|
||||
cookiePass: '',
|
||||
@@ -78,6 +80,9 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getValueByCode(this.title_param).then(res => {
|
||||
this.title = res.value
|
||||
})
|
||||
// 获取验证码
|
||||
this.getCode()
|
||||
// 获取用户名密码等Cookie
|
||||
|
||||
Reference in New Issue
Block a user