diff --git a/src/views/Program.vue b/src/views/Program.vue index c6439d6..ee55ced 100644 --- a/src/views/Program.vue +++ b/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; }