mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 修复快捷修改组件问题和优化可一键删除输入内容
This commit is contained in:
parent
48496bcb15
commit
23ed472253
|
|
@ -12,6 +12,7 @@
|
|||
:maxlength="quickCreateMaxlength || '-'"
|
||||
:show-word-limit="quickCreateMaxlength ? true : false"
|
||||
@keydown.enter="submitHandle"
|
||||
clearable
|
||||
/>
|
||||
|
||||
<el-button type="primary" @click="submitHandle" :disabled="loading">创建</el-button>
|
||||
|
|
|
|||
|
|
@ -23,11 +23,12 @@
|
|||
:show-word-limit="maxlength ? true : false"
|
||||
@blur="isEdit = false"
|
||||
@keyup.enter="submit"
|
||||
clearable
|
||||
></el-input>
|
||||
</div>
|
||||
|
||||
<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-button>
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Reference in New Issue