diff --git a/gringotts-frontend/components/resource/dialog-resource.js b/gringotts-frontend/components/resource/dialog-resource.js index 7ccfdc6..78af8cc 100644 --- a/gringotts-frontend/components/resource/dialog-resource.js +++ b/gringotts-frontend/components/resource/dialog-resource.js @@ -27,6 +27,8 @@ function detailForm(showCreatedUserAndModifiedUser = false) { type: 'input-text', name: 'name', label: '资源名称', + maxLength: 10, + showCounter: true, required: true, ...formInputClearable, },