fix: 修复快捷修改组件问题和优化可一键删除输入内容
This commit is contained in:
parent
48496bcb15
commit
23ed472253
@ -12,6 +12,7 @@
|
|||||||
:maxlength="quickCreateMaxlength || '-'"
|
:maxlength="quickCreateMaxlength || '-'"
|
||||||
:show-word-limit="quickCreateMaxlength ? true : false"
|
:show-word-limit="quickCreateMaxlength ? true : false"
|
||||||
@keydown.enter="submitHandle"
|
@keydown.enter="submitHandle"
|
||||||
|
clearable
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<el-button type="primary" @click="submitHandle" :disabled="loading">创建</el-button>
|
<el-button type="primary" @click="submitHandle" :disabled="loading">创建</el-button>
|
||||||
|
|||||||
@ -23,11 +23,12 @@
|
|||||||
:show-word-limit="maxlength ? true : false"
|
:show-word-limit="maxlength ? true : false"
|
||||||
@blur="isEdit = false"
|
@blur="isEdit = false"
|
||||||
@keyup.enter="submit"
|
@keyup.enter="submit"
|
||||||
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<span class="ml-4">
|
<span class="ml-4">
|
||||||
<el-button type="primary" text @click.stop="submit" :disabled="loading">
|
<el-button type="primary" text @mousedown="submit" :disabled="loading">
|
||||||
<el-icon><Select /></el-icon>
|
<el-icon><Select /></el-icon>
|
||||||
</el-button>
|
</el-button>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user