lilei 2 years ago
parent
commit
4bf5084c62
2 changed files with 2 additions and 3 deletions
  1. 1 1
      public/version.json
  2. 1 2
      src/views/shoppingCarManagement/shoppingCar/list.vue

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1676353782275
+  "version": 1676354203531
 }

+ 1 - 2
src/views/shoppingCarManagement/shoppingCar/list.vue

@@ -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(() => { // 页面渲染完成后的回调