fix: 修复翻译缺失和更新系统用户的表单问题

This commit is contained in:
Orange
2020-11-17 14:49:38 +08:00
committed by 老广
parent 6f84312dbe
commit c27dd0baef
2 changed files with 4 additions and 0 deletions

View File

@@ -787,6 +787,7 @@
"Asset": "Asset",
"SystemUser": "System user",
"Applicant": "Applicant",
"RequestAssetPerm": "Request asset perm",
"Pending": "Open",
"Approved": "Approved",
"Rejected": "Rejected",

View File

@@ -191,6 +191,9 @@ export default {
if (formValue.update_password || formValue.protocol === 'k8s') {
return true
}
if (formValue.login_mode === 'login_mode') {
return true
}
return !this.$route.params.id
}
},