@@ -211,6 +211,10 @@
postData.push(dataItem);
});
try {
+ if (postData.length === 0) {
+ createMessage.warning('请请先添加班级信息');
+ return;
+ }
await putBandingBandingTaskClass(postData);
createMessage.success('保存成功');
reload();