lilei 3 лет назад
Родитель
Сommit
26013600ce

+ 1 - 1
public/version.json

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

+ 1 - 1
src/views/productManagement/productInfo/list.vue

@@ -365,7 +365,7 @@ export default {
     },
     // 批量操作
     handleOutbounds (type) {
-      if (!this.rowSelectionInfo || (this.rowSelectionInfo && this.rowSelectionInfo.selectedRowKeys.length < 0)) {
+      if (!this.rowSelectionInfo || (this.rowSelectionInfo && this.rowSelectionInfo.selectedRowKeys.length <= 0)) {
         this.$message.warning('请在列表勾选后再进行批量操作!')
         return
       }

+ 2 - 1
src/views/productManagement/productInfoJg/list.vue

@@ -291,7 +291,8 @@ export default {
     },
     // 批量操作
     handleOutbounds (type) {
-      if (!this.rowSelectionInfo || (this.rowSelectionInfo && this.rowSelectionInfo.selectedRowKeys.length < 0)) {
+      console.log(this.rowSelectionInfo && this.rowSelectionInfo.selectedRowKeys.length)
+      if (!this.rowSelectionInfo || (this.rowSelectionInfo && this.rowSelectionInfo.selectedRowKeys.length <= 0)) {
         this.$message.warning('请在列表勾选后再进行批量操作!')
         return
       }