소스 검색

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 = [];