浏览代码

修改外部检索二次检索点击空白处bug

zhuliu 1 年之前
父节点
当前提交
2171df1d44
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/utils/model/search/search.vue
  2. 1 1
      src/views/components/import/conditionImport/searchResult.vue

+ 1 - 1
src/utils/model/search/search.vue

@@ -85,7 +85,7 @@
                               </div>
                         <!-- </el-col> -->
                     <!-- </el-row> -->
-                    <div style="width:80px">
+                    <div style="width:80px" v-if="!searchResult">
                         <!-- <span v-if="list.length==1" style="opacity: 0;"> 内容 </span> -->
                         <span v-if="list.length==1" class="btns"> 
                             <el-button v-if="searchValue" size="small" @click="add(i)"><i class="el-icon-plus"></i></el-button>

+ 1 - 1
src/views/components/import/conditionImport/searchResult.vue

@@ -19,7 +19,7 @@
         <div style="max-width: 800px;margin-top: 0px;display: flex;justify-content: center;align-items: center;">
           <search :field="field" :searchResult="true" :searchValue="false" :countryList="queryParams.countryList"
             @search="search"></search>
-          <p><el-link style="width: 50px;margin-left: -60px;color: #409EFF;" @click="searches">检索式</el-link></p>
+          <p><el-link style="width: 50px;color: #409EFF;" @click="searches">检索式</el-link></p>
         </div>
         <div>
           <el-button type="primary" size="small" @click="importToProject">导入专利</el-button>