前端
大鱼七号船船长
优秀青年
展开
-
springboot+layui:多文件上传到本地
html页面代码直接复制layui官方文档代码<div class="layui-upload"> <button class="layui-btn layui-btn-normal" id="testList" type="button">选择文件</button> <div class="layui-upload-list">...原创 2020-02-29 15:54:58 · 3406 阅读 · 7 评论 -
thymethy:springboot启动后访问templates子文件夹下html
thymethy模板访问页面路径默认设置如下spring.thymeleaf.prefix=classpath:/templates/spring.thymeleaf.suffix=.html当/template/index.xml时@Controllerpublic class HomeController { @RequestMapping("/") //若是@Reque...原创 2020-02-24 17:53:27 · 3050 阅读 · 3 评论 -
Springboot:使用前端框架layui,页面跳转后显示空白
问题springboot启动正常且页面跳转正确后,出现layui前端页面显示空白情况,其中标题title正常加载出现。如下图所示解决方法引入资源路径问题经过发现是在index.html中引入static下的layui框架资源的路径有误,会出现cannot resolve directory提示<link rel="stylesheet" href="E:/lh/programs/...原创 2020-02-17 16:13:35 · 2927 阅读 · 1 评论