thymeleaf与layui冲突

在springboot里使用thymeleaf和layuiadmain(jframe版)
代码如下
                <dl class="layui-nav-child">
                  <dd data-name="console" class="layui-this">
                  <a th:lay-href="@{/views/home/console.html}">控制台</a>
                </dd>
                <dd data-name="console">
                  <a lay-href="home/homepage1.html">主页一</a>
                </dd>
                <dd data-name="console">
                  <a lay-href="home/homepage2.html">主页二</a>
                </dd>
              </dl>

img

运行结果

img

我想要让他正常起来

把完整代码发给我,我来调试

解决
spring:
thymeleaf:
cache: false
enable-spring-el-compiler: true
check-template-location: true
check-template: true
suffix: .html
prefix: classpath:/templates/
enabled: true
resources:
chain:
strategy:
content:
enabled: true
paths: /**
web:
resources:
static-locations: classpath:/static/, classpath:/templates/views, classpath:/templates/