zhangzaipeng 3 lat temu
rodzic
commit
9d75b36269

+ 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>