feat:bug
This commit is contained in:
parent
bb705ee956
commit
74fd20b462
Binary file not shown.
|
Before Width: | Height: | Size: 5.2 MiB |
BIN
frontend/Skyeye-sys-ui/src/assets/img/login/bg.png
Normal file
BIN
frontend/Skyeye-sys-ui/src/assets/img/login/bg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.0 MiB |
@ -123,16 +123,25 @@ export default {
|
||||
const form = { ...this.user.form }
|
||||
form.password = md5(form.password)
|
||||
if (form.id) {
|
||||
userUpdate(this.user.form).then(res => {
|
||||
userUpdate(form).then(res => {
|
||||
if (res.code === 200) {
|
||||
this.$message.success('更新用户成功')
|
||||
this.userPage()
|
||||
this.close()
|
||||
} else {
|
||||
this.$message.success(res.msg || '更新用户失败')
|
||||
}
|
||||
|
||||
})
|
||||
} else {
|
||||
userSave(form).then(res => {
|
||||
if (res.code === 200) {
|
||||
this.$message.success('新增用户成功')
|
||||
this.userPage()
|
||||
this.close()
|
||||
} else {
|
||||
this.$message.success(res.msg || '新增用户失败')
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
@ -80,8 +80,8 @@
|
||||
autocomplete="account"
|
||||
v-model="user.form.account"
|
||||
placeholder="请输入用户名称"
|
||||
clearable
|
||||
size="mini"
|
||||
:disabled="user.form.account === 'admin'"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
|
||||
|
||||
@ -328,7 +328,7 @@ $light_gray: #eee;
|
||||
// #2e66ce 50%,
|
||||
// #1cb5e0 99%
|
||||
// );
|
||||
background: url('~@/assets/img/login/bg.gif') no-repeat center center / cover;
|
||||
background: url('~@/assets/img/login/bg.png') no-repeat center center / cover;
|
||||
// background-color: #000;
|
||||
// animation: dynamic 20s linear infinite;
|
||||
overflow: hidden;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user