浏览代码

fix:panduan

lupeng 6 月之前
父节点
当前提交
9cd6a7f4fd
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/views/base/craftManagement/route/components/bottomTable.vue

+ 3 - 0
src/views/base/craftManagement/route/components/bottomTable.vue

@@ -192,6 +192,9 @@ const esopList = ref([]);
 const checkItem = ref({});
 const checkList = ref([]);
 const onSelectedFinish = (itemValue) => {
+  if (Object.keys(itemValue).length == 0) {
+    ElMessage.error("请选择数据,数据不能为空!");
+  }
   //crudRef.value && crudRef.value.rowAdd();
   itemRecordList.value = [];
   itemRecord.value.itemRecordList = [];