mirror of
https://github.com/jumpserver/lina.git
synced 2025-05-12 01:58:51 +00:00
fix(assets): 修复创建网关没有密码的问题
This commit is contained in:
parent
29d3647579
commit
ce614bba7c
@ -104,7 +104,7 @@ export default {
|
||||
return route
|
||||
},
|
||||
cleanFormValue(values) {
|
||||
if (!values.update_password) {
|
||||
if (this.$route.params.id && !values.update_password) {
|
||||
delete values['password']
|
||||
}
|
||||
return values
|
||||
|
Loading…
Reference in New Issue
Block a user