在input中 添加 @clear="handleEmpty"(方法名)
例如:
<el-input v-model="tQuery" clearable placeholder="请输入您的问题..."标签:el,clear,handleHuaFilter,element,输入框,handleEmpty,clearable,input,icon From: https://blog.51cto.com/u_15957318/6042233
prefix-icon="el-icon-search" @change="handleHuaFilter" @clear="handleEmpty"
class="filter-item" style="width: 380px"/>