|
|
@@ -7,7 +7,7 @@
|
|
|
<el-col :span="6">
|
|
|
<div class="searchBox">
|
|
|
<div class="searchTitle">留言标题:</div>
|
|
|
- <el-input placeholder="请输入留言标题" autocomplete="off" v-model="getApiData.keyword" />
|
|
|
+ <el-input placeholder="请输入留言标题" autocomplete="off" v-model="getApiData.title" />
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
@@ -124,7 +124,6 @@ export default {
|
|
|
//如果是搜索,重新加载第一页==搜索
|
|
|
if (type == "search") {
|
|
|
this.getApiData.page = 1;
|
|
|
- this.getApiData.title = "";
|
|
|
}
|
|
|
this.$store.dispatch('news/getMessageList', this.getApiData).then(res => {
|
|
|
//列表
|
|
|
@@ -233,6 +232,7 @@ export default {
|
|
|
//1.6 重置按钮
|
|
|
clearSearchList() {
|
|
|
this.tableData = [];
|
|
|
+ this.getApiData.title = "";
|
|
|
this.getApiData.keyword = "";
|
|
|
this.getApiData.name = "";
|
|
|
this.getApiData.website_column_id = [];
|