Ver Fonte

修改模板

zhangzaipeng há 3 anos atrás
pai
commit
9d75b36269
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      single_table/single-view.js.ftl
  2. 1 1
      single_table/single-view.js_en.ftl

+ 1 - 1
single_table/single-view.js.ftl

@@ -132,7 +132,7 @@ export default {
                     editor: {
                         <#if column.componentType == 1>
                             xtype : 'combo',
-                            fix: ['system.getDict("DICT_TYPE")']
+                            fix: ['system.getDict("${column.dictKey}")']
                         <#elseif column.componentType == 2>
                             xtype : 'textfield',
                         </#if>

+ 1 - 1
single_table/single-view.js_en.ftl

@@ -132,7 +132,7 @@ export default {
                     editor: {
                         <#if column.componentType == 1>
                             xtype : 'combo',
-                            fix: ['system.getDict("DICT_TYPE")']
+                            fix: ['system.getDict("${column.dictKey}")']
                         <#elseif column.componentType == 2>
                             xtype : 'textfield',
                         </#if>