소스 검색

修复tab栏”关闭其他“异常的问题

RuoYi 3 년 전
부모
커밋
23ae0eb43b
2개의 변경된 파일3개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 1
      ruoyi-ui/src/components/IconSelect/index.vue
  2. 2 3
      ruoyi-ui/src/views/system/menu/index.vue

+ 1 - 1
ruoyi-ui/src/components/IconSelect/index.vue

@@ -1,7 +1,7 @@
1 1
 <!-- @author zhengjie -->
2 2
 <template>
3 3
   <div class="icon-body">
4
-    <el-input v-model="name" style="position: relative;" clearable placeholder="请输入图标名称" @clear="filterIcons" @input.native="filterIcons">
4
+    <el-input v-model="name" style="position: relative;" clearable placeholder="请输入图标名称" @clear="filterIcons" @input="filterIcons">
5 5
       <i slot="suffix" class="el-icon-search el-input__icon" />
6 6
     </el-input>
7 7
     <div class="icon-list">

+ 2 - 3
ruoyi-ui/src/views/system/menu/index.vue

@@ -77,7 +77,7 @@
77 77
       </el-table-column>
78 78
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
79 79
         <template slot-scope="scope">
80
-          <el-button 
80
+          <el-button
81 81
             size="mini"
82 82
             type="text"
83 83
             icon="el-icon-edit"
@@ -140,8 +140,7 @@
140 140
                     v-if="form.icon"
141 141
                     slot="prefix"
142 142
                     :icon-class="form.icon"
143
-                    class="el-input__icon"
144
-                    style="height: 32px;width: 16px;"
143
+                    style="width: 25px;"
145 144
                   />
146 145
                   <i v-else slot="prefix" class="el-icon-search el-input__icon" />
147 146
                 </el-input>