提交 9e9651cf 编写于 作者: Neuromancer255's avatar Neuromancer255

快速分组代码表补充data属性和子项 --fix3

上级 6e4e4a7b
...@@ -15,12 +15,12 @@ TARGET=PSSYSAPP ...@@ -15,12 +15,12 @@ TARGET=PSSYSAPP
"id": "${codeitem.getValue()?j_string}", "id": "${codeitem.getValue()?j_string}",
"label": "${codeitem.getText()?j_string}", "label": "${codeitem.getText()?j_string}",
"text": "${codeitem.getText()?j_string}", "text": "${codeitem.getText()?j_string}",
"data": <#if codeitem.getData() !="">${codeitem.getData()}<#else>""</#if>, "data": <#if codeitem.getData() !="">‘${codeitem.getData()}’<#else>""</#if>,
<#if codeitem.getPSCodeItems?? && codeitem.getPSCodeItems()??> <#if codeitem.getPSCodeItems?? && codeitem.getPSCodeItems()??>
"subItem": [ "subItem": [
<#list codeitem.getPSCodeItems() as subItem> <#list codeitem.getPSCodeItems() as subItem>
<#if subItem_index gt 0>,</#if> { <#if subItem_index gt 0>,</#if> {
"id": "${subItem.getValue()?lower_case?j_string}" "id": "${subItem.getValue()?j_string}"
} }
</#list> </#list>
], ],
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册