|
@@ -2,7 +2,7 @@
|
|
|
<el-container class="flex-column-page-wrap group-container">
|
|
|
<div class="ApprovalList">
|
|
|
<el-header class="flex flex-align-center" style="padding: 0">
|
|
|
- <el-input v-model="keyword" style="width: 200px" placeholder="搜索" clearable @blur="searchProcess" />
|
|
|
+ <el-input v-model="keyword" style="width: 200px" placeholder="搜索" clearable @blur="searchProcess" @clear="searchProcess" />
|
|
|
<div style="margin-left: auto; flex-shrink: 0">
|
|
|
<template v-if="!sortFlag">
|
|
|
<el-button @click="addNewGroupEv">新建分组</el-button>
|
|
@@ -68,7 +68,6 @@ const addNewGroupEv = () => {
|
|
|
|
|
|
// 调用子组件的方法
|
|
|
const searchProcess = async () => {
|
|
|
- if (!keyword.value) return
|
|
|
await dyncComponent.value.searchProcessEv({ keyword: keyword.value })
|
|
|
}
|
|
|
|