perf: 优化账号用户名字段提示信息(null 的情况)

This commit is contained in:
Bai
2023-05-09 18:36:21 +08:00
committed by Jiangjie.Bai
parent 65ca953f5b
commit f0cc64c74e
5 changed files with 385 additions and 361 deletions

View File

@@ -78,4 +78,5 @@ class BaseAccountSerializer(AuthValidateMixin, BulkOrgResourceModelSerializer):
]
extra_kwargs = {
'spec_info': {'label': _('Spec info')},
'username': {'help_text': _("Tip: If no username is required for authentication, fill in `null`")}
}