🎨 修改前端访问名称

This commit is contained in:
Bunny 2025-07-01 16:41:38 +08:00
parent 41ce317249
commit 2a829e477b
7 changed files with 7 additions and 5 deletions

View File

@ -42,4 +42,5 @@ public class VmsController {
public ResponseEntity<byte[]> downloadByZip(@Valid @RequestBody VmsArgumentDto dto) {
return vmsService.downloadByZip(dto);
}
}

View File

@ -8,6 +8,7 @@ public class IndexController {
@GetMapping("/")
public String index() {
return "home";
return "main";
}
}

View File

@ -92,10 +92,10 @@
<!-- 引入组件 -->
<script th:src="@{/src/components/AppHeader.js}"></script>
<script th:src="@{/src/views/home/MainCard.js}"></script>
<script th:src="@{/src/views/home/MainForm.js}"></script>
<script th:src="@{/src/views/home/MainTable.js}"></script>
<script th:src="@{/src/views/home/MainGeneratorPage.js}"></script>
<script th:src="@{/src/views/main/MainCard.js}"></script>
<script th:src="@{/src/views/main/MainForm.js}"></script>
<script th:src="@{/src/views/main/MainTable.js}"></script>
<script th:src="@{/src/views/main/MainGeneratorPage.js}"></script>
<script>
const {createApp, ref} = Vue