Skip to content

Commit

Permalink
Merge pull request 1Panel-dev#381 from 1Panel-dev/pr@main@fix-bugs
Browse files Browse the repository at this point in the history
fix: 修复快捷修改组件问题和优化支持一键清空输入内容
  • Loading branch information
wangdan-fit2cloud committed May 7, 2024
2 parents 48496bc + 23ed472 commit 8204d5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions ui/src/components/app-table/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
3 changes: 2 additions & 1 deletion ui/src/components/read-write/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 8204d5f

Please sign in to comment.