pref(textarea): 优化textarea的minRows为3

This commit is contained in:
jym503558564
2020-09-02 10:43:03 +08:00
committed by 老广
parent be4e0b5e35
commit e1999e5ce8
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ export default {
el: {
type: 'textarea',
placeholder: 'ssh-rsa AAAA...',
autosize: true
autosize: { minRows: 3 }
},
helpText: this.$t('users.HelpText.SSHKeyOfProfileSSHUpdatePage')
}

View File

@@ -114,7 +114,7 @@ export default {
rules: [Required],
el: {
type: 'textarea',
autosize: true
autosize: { minRows: 3 }
},
hidden: form => {
return form.protocol !== 'k8s'