Prechádzať zdrojové kódy

关键字搜索支持清空

gangyj 3 rokov pred
rodič
commit
84b158b2ac

+ 2 - 0
src/views/exctab/excelmodel/excelmodel.vue

@@ -12,6 +12,8 @@
           <el-input
             size="small"
             placeholder="输入关键字搜索"
+            clearable
+            @clear="allTreeShow = false"
             v-model="filterText">
           </el-input>
           <el-button size="small" class="mg-l-10" @click="treeFilter">搜索</el-button>