@@ -221,7 +221,13 @@ export default defineComponent({
type="primary"
disabled={forms.drag}
onClick={() => {
- if (forms.trainList.length <= 0) {
+ let count = 0;
+ forms.trainList.forEach((item: any) => {
+ if (!item.removeFlag) {
+ count++;
+ }
+ });
+ if (count <= 0) {
message.error('训练内容不能为空');
return;
}
@@ -119,6 +119,10 @@
padding-left: 12px;
padding-right: 4px;
+
+ .n-input__input-el {
+ height: 42px !important;
.searchBtn {