[Improvement][UI] Description input box can not input blank (#14396)
This commit is contained in:
parent
5250b253eb
commit
8a2c05f1ed
|
|
@ -230,7 +230,6 @@ const DetailModal = defineComponent({
|
|||
</NFormItem>
|
||||
<NFormItem label={t('datasource.description')} path='note'>
|
||||
<NInput
|
||||
allowInput={this.trim}
|
||||
class='input-data-source-description'
|
||||
v-model={[detailForm.note, 'value']}
|
||||
type='textarea'
|
||||
|
|
|
|||
|
|
@ -137,7 +137,6 @@ const ProjectModal = defineComponent({
|
|||
path='description'
|
||||
>
|
||||
<NInput
|
||||
allowInput={this.trim}
|
||||
v-model={[this.model.description, 'value']}
|
||||
type='textarea'
|
||||
placeholder={t('project.list.description_tips')}
|
||||
|
|
|
|||
|
|
@ -252,7 +252,6 @@ export default defineComponent({
|
|||
style={{ marginBottom: '5px' }}
|
||||
>
|
||||
<NInput
|
||||
allowInput={this.trim}
|
||||
type='textarea'
|
||||
v-model={[this.uploadForm.description, 'value']}
|
||||
placeholder={t('resource.function.enter_description_tips')}
|
||||
|
|
@ -272,7 +271,6 @@ export default defineComponent({
|
|||
path='description'
|
||||
>
|
||||
<NInput
|
||||
allowInput={this.trim}
|
||||
type='textarea'
|
||||
v-model={[this.functionForm.description, 'value']}
|
||||
placeholder={t('resource.function.enter_instructions_tips')}
|
||||
|
|
|
|||
|
|
@ -157,7 +157,6 @@ const AlarmGroupModal = defineComponent({
|
|||
path='description'
|
||||
>
|
||||
<NInput
|
||||
allowInput={this.trim}
|
||||
type='textarea'
|
||||
placeholder={t(
|
||||
'security.alarm_group.alarm_group_description_tips'
|
||||
|
|
|
|||
|
|
@ -185,7 +185,6 @@ const ClusterModal = defineComponent({
|
|||
path='description'
|
||||
>
|
||||
<NInput
|
||||
allowInput={this.trim}
|
||||
class='input-cluster-desc'
|
||||
placeholder={t('security.cluster.cluster_description_tips')}
|
||||
v-model={[this.model.description, 'value']}
|
||||
|
|
|
|||
|
|
@ -172,7 +172,6 @@ const EnvironmentModal = defineComponent({
|
|||
path='description'
|
||||
>
|
||||
<NInput
|
||||
allowInput={this.trim}
|
||||
class='input-environment-desc'
|
||||
placeholder={t(
|
||||
'security.environment.environment_description_tips'
|
||||
|
|
|
|||
|
|
@ -152,7 +152,6 @@ const TenantModal = defineComponent({
|
|||
path='description'
|
||||
>
|
||||
<NInput
|
||||
allowInput={this.trim}
|
||||
class='input-description'
|
||||
placeholder={t('security.tenant.description_tips')}
|
||||
v-model={[this.model.description, 'value']}
|
||||
|
|
|
|||
Loading…
Reference in New Issue