瀏覽代碼

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

zhuth 7 年之前
父節點
當前提交
dcd12602a7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      frontend/pc-web/app/view/core/form/field/ClassComboBox.js

+ 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>'
     ),
     ),