From d28223384922de5fb08c20516eb3f99981c8136a Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期五, 22 十一月 2024 17:37:34 +0800 Subject: [PATCH] 1. 修复上传问题或整改图片后,界面更新错误问题; 2. 优化问题整改界面展示效果; 3. 场景图片对话框添加查看状态下可以点击图片放大功能 --- 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