|
@@ -168,7 +168,6 @@ export default {
|
|
|
...mapActions(['getCartList']),
|
|
|
// 查询
|
|
|
searchForm () {
|
|
|
- // this.$refs.table.clearSelected() // 清空表格选中项
|
|
|
this.$refs.table.refresh(true)
|
|
|
},
|
|
|
// 重置
|
|
@@ -183,7 +182,6 @@ export default {
|
|
|
this.productType = []
|
|
|
this.$refs.table.refresh(true)
|
|
|
this.rowSelectionInfo = null
|
|
|
- this.$refs.table.clearSelected()
|
|
|
},
|
|
|
// 设置表头
|
|
|
getColumns () {
|
|
@@ -345,6 +343,7 @@ export default {
|
|
|
this.getColumns()
|
|
|
this.setTableH()
|
|
|
this.resetSearchForm()
|
|
|
+ this.$refs.table.clearSelected()
|
|
|
},
|
|
|
setTableH () {
|
|
|
this.$nextTick(() => { // 页面渲染完成后的回调
|