摘要:
在开发时经常需要调整JS,但是调整后由于页面缓存的原因,看不到实时效果。开发环境:springboot+thymeleaf1.配置文件多模式2.获得当前的激活的模式和随机数import org.springframework.beans.factory.annotation.Autowired; i 阅读全文
posted @ 2018-05-07 11:33
huiy_小溪
阅读(1186)
评论(0)
推荐(0)
摘要:
1.map在后端放入一个mapMap<String, String> mapDict = serviceBaseDict.selectMap(ConstantDictType.SYSINFO); model.addAttribute("mapDict", mapDict);在页面中访问这个map<b 阅读全文
posted @ 2018-05-07 10:37
huiy_小溪
阅读(4811)
评论(0)
推荐(0)
摘要:
1.th:href获得当前的根路径 th:href="@{/}"2.select输出并自动选中<select class="form-control select2" id="stage2CoachID" name="stage2CoachID" th:value="${class.stage2Co 阅读全文
posted @ 2018-05-07 09:44
huiy_小溪
阅读(366)
评论(0)
推荐(0)

浙公网安备 33010602011771号