This is an automated email from the ASF dual-hosted git repository.
caishunfeng pushed a commit to branch 2.0.4-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/2.0.4-prepare by this push:
new 5ec9d1c cherry-pick [Fix-7457] Support to search when pressing enter
button in the search box (#8372)
5ec9d1c is described below
commit 5ec9d1c4a9c507d6b9cfe4440f6bb3eb7873c5e8
Author: caishunfeng <[email protected]>
AuthorDate: Tue Feb 15 10:00:11 2022 +0800
cherry-pick [Fix-7457] Support to search when pressing enter button in the
search box (#8372)
Co-authored-by: calvin <[email protected]>
---
.../src/js/module/components/conditions/conditions.vue | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git
a/dolphinscheduler-ui/src/js/module/components/conditions/conditions.vue
b/dolphinscheduler-ui/src/js/module/components/conditions/conditions.vue
index 59b60f5..1842830 100644
--- a/dolphinscheduler-ui/src/js/module/components/conditions/conditions.vue
+++ b/dolphinscheduler-ui/src/js/module/components/conditions/conditions.vue
@@ -27,12 +27,15 @@
<el-button size="mini" @click="_ckQuery"
icon="el-icon-search"></el-button>
</div>
<div class="list">
- <el-input v-model="searchVal"
- @keyup.enter="_ckQuery"
- size="mini"
- :placeholder="$t('Please enter keyword')"
- type="text"
- style="width:180px;">
+ <el-input
+ v-model="searchVal"
+ @keyup.enter.native="_ckQuery"
+ size="mini"
+ :placeholder="$t('Please enter keyword')"
+ type="text"
+ style="width: 180px"
+ clearable
+ >
</el-input>
</div>
</template>