修复登录重定向错误

This commit is contained in:
2018-06-23 20:37:36 +08:00
parent 3c2306b005
commit 55c895565c
6 changed files with 16 additions and 8 deletions

View File

@@ -6,7 +6,7 @@
<body>
<div th:insert="~{dist/thymeleaf/common_head :: #body_js}"></div>
<div id="app">
<el-upload class="upload-demo" ref="upload" action="/fileupload/upload/add"
<el-upload class="upload-demo" ref="upload" action="/fileupload/home/upload/add"
:on-preview="handlePreview" :on-remove="handleRemove" :file-list="fileList" :auto-upload="false">
<el-button slot="trigger" size="small" type="primary">选取文件</el-button>
<el-button style="margin-left: 10px;" size="small" type="success" @click="submitUpload">上传到服务器</el-button>