前端添加、删除文件和反馈提示改为服务器回调信息,去除无用文件,前端版本信息改为由服务器获取,后台可批量插入版本日志
This commit is contained in:
@@ -64,6 +64,6 @@
|
||||
</el-container>
|
||||
</el-container>
|
||||
</div>
|
||||
<script th:src="@{/js/homePage.js}"></script>
|
||||
<script th:src="@{/js/homepage.js}"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -37,6 +37,6 @@
|
||||
</el-container>
|
||||
</el-container>
|
||||
</div>
|
||||
<script th:src="@{/js/homePage.js}"></script>
|
||||
<script th:src="@{/js/homepage.js}"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -280,6 +280,6 @@
|
||||
</el-container>
|
||||
</el-container>
|
||||
</div>
|
||||
<script th:src="@{/js/homePage.js}"></script>
|
||||
<script th:src="@{/js/homepage.js}"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -317,7 +317,7 @@
|
||||
</el-container>
|
||||
</el-container>
|
||||
</div>
|
||||
<script src="../../static/js/homePage.js"></script>
|
||||
<script src="../../static/js/homepage.js"></script>
|
||||
<script src="../../static/js/common.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -61,6 +61,9 @@
|
||||
label="密码" prop="colpassword">
|
||||
<el-input type="password"
|
||||
v-model="ruleForm2.colpassword" auto-complete="off" name="colpassword"></el-input>
|
||||
<el-tooltip class="item" effect="dark" content="全站密码采用SHA加密算法,任何人都无法获取用户密码" placement="right">
|
||||
<el-button type="text">密码安全性?</el-button>
|
||||
</el-tooltip>
|
||||
</el-form-item>
|
||||
<el-form-item label="确认密码" prop="checkPass">
|
||||
<el-input
|
||||
@@ -103,6 +106,9 @@
|
||||
prop="colname">
|
||||
<el-input
|
||||
v-model="ruleForm3.colname" name="colname"></el-input>
|
||||
<el-tooltip class="item" effect="dark" content="全站对问题的答案进行SHA加密算法,任何人均无法获取用户知晓用户的问题答案" placement="right">
|
||||
<el-button type="text">问题和答案安全性?</el-button>
|
||||
</el-tooltip>
|
||||
</el-form-item>
|
||||
<el-form-item label="问题"
|
||||
prop="question">
|
||||
|
||||
@@ -2,25 +2,9 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>多文件 上传 </title>
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="margin: 0 auto;margin-top: 100px; ">
|
||||
|
||||
<form action="/cms/moreUpload.html" method="post" enctype="multipart/form-data">
|
||||
<p>
|
||||
<span>文件1:</span>
|
||||
<input type="file" name="imageFile1">
|
||||
</p>
|
||||
<p>
|
||||
<span>文件2:</span>
|
||||
<input type="file" name="imageFile2">
|
||||
</p>
|
||||
<p>
|
||||
<input type="submit">
|
||||
</p>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,28 +0,0 @@
|
||||
<%@page import="java.util.List"%>
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||
pageEncoding="UTF-8"%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>多文件 上传结果 </title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div style="margin: 0 auto;margin-top: 100px; ">
|
||||
|
||||
<%
|
||||
List<String> fileList = (List)request.getAttribute("files");
|
||||
for(String url : fileList){
|
||||
%>
|
||||
<a href="<%=url %>">
|
||||
<img alt="" src="<%=url %>">
|
||||
</a>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,31 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>单文件 上传 </title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="margin: 0 auto;margin-top: 100px; ">
|
||||
<form action="/cms/test" method="post" enctype="multipart/form-data">
|
||||
<p>
|
||||
<span>文件路径测试:</span>
|
||||
<input type="file" name="imageFile">
|
||||
</p>
|
||||
<p>
|
||||
<input type="submit">
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<form action="/cms/oneUpload" method="post" enctype="multipart/form-data">
|
||||
<p>
|
||||
<span>文件:</span>
|
||||
<input type="file" name="imageFile">
|
||||
</p>
|
||||
<p>
|
||||
<input type="submit">
|
||||
</p>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user