浏览代码

优化一下

cxmo 1 年之前
父节点
当前提交
38a9912124

+ 2 - 0
src/views/custom_manage/overseasList/components/roadShowsDialog.vue

@@ -61,6 +61,8 @@ export default {
         isRoadDetailShow(newVal){
             if(newVal){
                 this.getTableData()
+            }else{
+                this.dataList=[]
             }
         }
     },

+ 2 - 0
src/views/custom_manage/overseasList/components/totalClicksDialog.vue

@@ -54,6 +54,8 @@ export default {
                     SortType:'',
                 }
                 this.getTableData()
+            }else{
+                this.dataList = []
             }
         }
     },

+ 2 - 0
src/views/custom_manage/overseasList/overseasCustomList.vue

@@ -79,6 +79,7 @@
             </div>
             <div class="table-box">
                 <el-table
+                    ref="overseasTable"
                     :data="tableData"
                     border
                     @sort-change="handleSortChange"
@@ -263,6 +264,7 @@ export default {
                 tagStatusSelect:'全部',
                 tryStatusSelect:0,
             }
+            this.$refs.overseasTable&&this.$refs.overseasTable.clearSort()
             this.handlePageChange(1)
         }
     },