Browse Source

提交修改

sgjj 5 years ago
parent
commit
840c027a92
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/main/webapp/WEB-INF/macro.ftl

+ 7 - 0
src/main/webapp/WEB-INF/macro.ftl

@@ -0,0 +1,7 @@
+<#macro ms_file jsonString>
+    <#if jsonString??&&jsonString!=''>
+        <@compress>
+            ${jsonString?eval[0].path}
+        </@compress>
+    </#if>
+</#macro>