mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
pref(textarea): 优化textarea的minRows为3
This commit is contained in:
@@ -47,7 +47,7 @@ export default {
|
||||
el: {
|
||||
type: 'textarea',
|
||||
placeholder: 'ssh-rsa AAAA...',
|
||||
autosize: true
|
||||
autosize: { minRows: 3 }
|
||||
},
|
||||
helpText: this.$t('users.HelpText.SSHKeyOfProfileSSHUpdatePage')
|
||||
}
|
||||
|
||||
@@ -114,7 +114,7 @@ export default {
|
||||
rules: [Required],
|
||||
el: {
|
||||
type: 'textarea',
|
||||
autosize: true
|
||||
autosize: { minRows: 3 }
|
||||
},
|
||||
hidden: form => {
|
||||
return form.protocol !== 'k8s'
|
||||
|
||||
Reference in New Issue
Block a user