配置静态文件版本号,解决客户端缓存问题

This commit is contained in:
2018-05-01 16:47:14 +08:00
parent 874b1f028e
commit 47a926e97d
10 changed files with 10 additions and 10 deletions

View File

@@ -5,7 +5,7 @@
<groupId>com.fjy</groupId>
<artifactId>spring</artifactId>
<version>V2.9.8</version>
<version>V2.9.9</version>
<packaging>jar</packaging>
<name>spring</name>

View File

@@ -69,6 +69,6 @@
</el-container>
</el-container>
</div>
<script th:src="@{/js/homepage.js}"></script>
<script th:src="@{/js/homepage.js}+'?v=0.1'"></script>
</body>
</html>

View File

@@ -92,6 +92,6 @@
</el-container>
</el-container>
</div>
<script th:src="@{/js/admin.js}"></script>
<script th:src="@{/js/admin.js}+'?v=0.1'"></script>
</body>
</html>

View File

@@ -37,6 +37,6 @@
</el-container>
</el-container>
</div>
<script th:src="@{/js/homepage.js}"></script>
<script th:src="@{/js/homepage.js}+'?v=0.1'"></script>
</body>
</html>

View File

@@ -305,6 +305,6 @@
</el-container>
</el-container>
</div>
<script th:src="@{/js/homepage.js}"></script>
<script th:src="@{/js/homepage.js}+'?v=0.1'"></script>
</body>
</html>

View File

@@ -99,6 +99,6 @@
</el-container>
</el-container>
</div>
<script th:src="@{/js/homework.js}"></script>
<script th:src="@{/js/homework.js}+'?v=0.1'"></script>
</body>
</html>

View File

@@ -73,6 +73,6 @@
</el-container>
</el-container>
</div>
<script th:src="@{/js/managecourse.js}"></script>
<script th:src="@{/js/managecourse.js}+'?v=0.1'"></script>
</body>
</html>

View File

@@ -50,6 +50,6 @@
</el-container>
</el-container>
</div>
<script th:src="@{/js/manageuser.js}"></script>
<script th:src="@{/js/manageuser.js}+'?v=0.1'"></script>
</body>
</html>

View File

@@ -121,6 +121,6 @@
</el-container>
</el-container>
</div>
<script th:src="@{/js/user.js}"></script>
<script th:src="@{/js/user.js}+'?v=0.1'"></script>
</body>
</html>

View File

@@ -162,7 +162,7 @@
<el-footer th:include="dist/thymeleaf/layout :: footer"></el-footer>
</el-row>
</div>
<script th:src="@{js/loginstyle.js}"></script>
<script th:src="@{js/loginstyle.js}+'?v=0.1'"></script>
<!--<body>
&lt;!&ndash;<center>
<h1>登录系统</h1>