<script type="application/javascript"> var map = { <c:forEach items="${configFiles}" var="c" varStatus="loop"> "${c.name}": [ <c:forEach items="${c.settingsList}" var="s" varStatus="sub"> "${s.targetIP}" <c:if test="${!sub.last}">, </c:if> </c:forEach> ] <c:if test="${!loop.last}">, </c:if> </c:forEach> }</script>
时间: 2024-10-14 14:39:58