From 0bd8b4947527f0d1a3fe445d84fb776ce021507e Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期四, 21 十一月 2024 10:59:56 +0800 Subject: [PATCH] 1. 修改问题整改界面中左侧列表的状态图标 --- src/components/search-option/FYSearchBar.vue | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/components/search-option/FYSearchBar.vue b/src/components/search-option/FYSearchBar.vue index fc96c81..e968e58 100644 --- a/src/components/search-option/FYSearchBar.vue +++ b/src/components/search-option/FYSearchBar.vue @@ -1,8 +1,15 @@ <template> - <el-form :inline="true"> + <el-form :inline="true" :size="size"> <slot name="options"></slot> <el-form-item> - <el-button icon="Search" type="primary" :loading="loading" @click="search">{{ btnText }}</el-button> + <el-button + icon="Search" + type="primary" + :loading="loading" + @click="search" + @kekeyup.enter="search" + >{{ btnText }}</el-button + > <slot name="buttons"></slot> </el-form-item> </el-form> @@ -11,6 +18,10 @@ <script> export default { props: { + size: { + type: String, + default: 'default' + }, btnText: { type: String, default: '鏌ヨ' -- Gitblit v1.9.3