Explorar o código

作业发布学科必填

zhuth %!s(int64=7) %!d(string=hai) anos
pai
achega
8a8049fafe
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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',