编程类保存修复

master V2.2.2
yujialong 3 years ago
parent 423dd6aac7
commit ec8bea2a73
  1. 2
      src/views/Program.vue

@ -299,7 +299,7 @@ export default {
if ((list[i].isSubject && !list[i].required) && (list[i].isSubject && !list[i].result)) {
this.$message.warning(`${list[i].index + 1}项,规则与结果至少填写一个`);
return;
} else if (list[i].isSubject && !list[i].isSave) {
} else if (list[i].isSubject && (!list[i].isSave || !list[i].isDisabled)) {
this.$message.warning(`${list[i].index + 1}项,未保存`);
return;
}

Loading…
Cancel
Save