Просмотр исходного кода

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

RuoYi лет назад: 3
Родитель
Сommit
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
 <!-- @author zhengjie -->
1
 <!-- @author zhengjie -->
2
 <template>
2
 <template>
3
   <div class="icon-body">
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
       <i slot="suffix" class="el-icon-search el-input__icon" />
5
       <i slot="suffix" class="el-icon-search el-input__icon" />
6
     </el-input>
6
     </el-input>
7
     <div class="icon-list">
7
     <div class="icon-list">

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

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