1
0
mirror of https://github.com/jumpserver/lina.git synced 2025-05-12 01:58:51 +00:00

fix(assets): 修复创建网关没有密码的问题

This commit is contained in:
ibuler 2021-07-20 18:22:40 +08:00 committed by 老广
parent 29d3647579
commit ce614bba7c

View File

@ -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