Merge pull request #7445 from dataease/pr@dev_one_dot_x
fix: 目录/仪表板/视图标题可输入空格创建[Bug] #7255
This commit is contained in:
commit
1a30b2e8fe
@ -6,7 +6,7 @@
|
||||
>
|
||||
<input
|
||||
ref="chartTitle"
|
||||
v-model="chartTitleUpdate"
|
||||
v-model.trim="chartTitleUpdate"
|
||||
type="text"
|
||||
:style="inputStyle"
|
||||
class="chart-input-title"
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
class="form-item"
|
||||
>
|
||||
<el-input
|
||||
v-model="titleForm.title"
|
||||
v-model.trim="titleForm.title"
|
||||
size="mini"
|
||||
:placeholder="$t('chart.title')"
|
||||
clearable
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
class="form-item"
|
||||
>
|
||||
<el-input
|
||||
v-model="titleForm.title"
|
||||
v-model.trim="titleForm.title"
|
||||
size="mini"
|
||||
:placeholder="$t('chart.title')"
|
||||
clearable
|
||||
|
||||
@ -334,7 +334,7 @@
|
||||
:label="$t('commons.name')"
|
||||
prop="name"
|
||||
>
|
||||
<el-input v-model="groupForm.name" />
|
||||
<el-input v-model.trim="groupForm.name" />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div
|
||||
|
||||
@ -47,7 +47,7 @@
|
||||
<el-col :span="4">{{ editPanel.titleSuf }}{{ $t('commons.name') }}</el-col>
|
||||
<el-col :span="20">
|
||||
<el-input
|
||||
v-model="editPanel.panelInfo.name"
|
||||
v-model.trim="editPanel.panelInfo.name"
|
||||
clearable
|
||||
size="mini"
|
||||
/>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user