Ver Fonte

班级选择器的值展示时不显示年级信息(目前有匹配错误问题)

zhuth há 7 anos atrás
pai
commit
dcd12602a7

+ 1 - 1
frontend/pc-web/app/view/core/form/field/ClassComboBox.js

@@ -20,7 +20,7 @@ Ext.define('school.view.core.form.field.ClassComboBox', {
     // template for the content inside text field
     // template for the content inside text field
     displayTpl: Ext.create('Ext.XTemplate',
     displayTpl: Ext.create('Ext.XTemplate',
         '<tpl for=".">',
         '<tpl for=".">',
-        '{clazz_name} | {clazz_grade}',
+        '{clazz_name}',
         '</tpl>'
         '</tpl>'
     ),
     ),