Commit e531ab6e5778e7b4d0022ecb1a8c0dfddd63682a
1 parent
070cc0ba
issues/I4SKUS 分子字典树前端代码生成错误
Showing
1 changed file
with
2 additions
and
2 deletions
jeecg-boot/jeecg-boot-module-system/src/main/resources/jeecg/code-template-online/default/one/java/${bussiPackage}/${entityPackage}/vue/${entityName}List.vuei
1 | +<#include "/common/utils.ftl"> | |
1 | 2 | <template> |
2 | 3 | <a-card :bordered="false"> |
3 | 4 | <!-- 查询区域 --> |
... | ... | @@ -297,7 +298,7 @@ |
297 | 298 | customRender: (text) => (text ? filterMultiDictText(this.dictOptions['${po.fieldName}'], text) : '') |
298 | 299 | <#else> |
299 | 300 | dataIndex: '${po.fieldName}', |
300 | - customRender: (text, record) => (text ? record['${po.dictText}'] : '') | |
301 | + customRender: (text, record) => (text ? record['${dashedToCamel(po.dictText)}'] : '') | |
301 | 302 | </#if> |
302 | 303 | <#else> |
303 | 304 | dataIndex: '${po.fieldName}' |
... | ... | @@ -411,7 +412,6 @@ |
411 | 412 | </#list> |
412 | 413 | }, |
413 | 414 | getSuperFieldList(){ |
414 | - <#include "/common/utils.ftl"> | |
415 | 415 | let fieldList=[]; |
416 | 416 | <#list columns as po> |
417 | 417 | fieldList.push(${superQueryFieldList(po)}) |
... | ... |