Browse Source

作业发布学科必填

zhuth 6 years ago
parent
commit
8a8049fafe
1 changed files with 2 additions and 1 deletions
  1. 2 1
      frontend/pc-web/app/view/Interaction/homework/Release.js

+ 2 - 1
frontend/pc-web/app/view/Interaction/homework/Release.js

@@ -89,7 +89,8 @@ Ext.define('school.view.interaction.homework.Release', {
             }, {
                 xtype: 'subjectcombo',
                 name: 'subject_id',
-                fieldLabel: '学科'
+                fieldLabel: '学科',
+                allowBlank: false
             }, {
                 xtype: 'datefield',
                 name: 'start_date',