diff --git a/novel-front/novel-front.iml b/novel-front/novel-front.iml index eb5b6e4..c85b29f 100644 --- a/novel-front/novel-front.iml +++ b/novel-front/novel-front.iml @@ -5,4 +5,105 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/novel-front/src/main/resources/application.yml b/novel-front/src/main/resources/application.yml index e58095d..de5b42e 100644 --- a/novel-front/src/main/resources/application.yml +++ b/novel-front/src/main/resources/application.yml @@ -14,7 +14,7 @@ spring: config: classpath:ehcache.xml thymeleaf: mode: LEGACYHTML5 #去除thymeleaf的html严格校验thymeleaf.mode=LEGACYHTML5 - cache: true # 是否开启模板缓存,默认true,建议在开发时关闭缓存,不然没法看到实时 + cache: false # 是否开启模板缓存,默认true,建议在开发时关闭缓存,不然没法看到实时 freemarker: template-loader-path: classpath:/templates #设定freemarker文件路径 默认为src/main/resources/templatestemplate-loader-path=classpath:/templates charset: UTF-8 # 模板编码 diff --git a/novel-front/src/main/resources/templates/books/book_content.html b/novel-front/src/main/resources/templates/books/book_content.html index eddc529..a5ae916 100644 --- a/novel-front/src/main/resources/templates/books/book_content.html +++ b/novel-front/src/main/resources/templates/books/book_content.html @@ -1,6 +1,4 @@ - - @@ -41,6 +39,201 @@ } window.setInterval("reinitIframe()", 200); + + + +