修复手机端无法响应的问题

This commit is contained in:
2018-03-14 13:00:53 +08:00
parent 047e7735d5
commit 564b3ce9e3
7 changed files with 191 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>axios</title>
</head>
<body>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script>
var data = "";
var data = "";
axios.get('http://localhost:8080/cms/download/findall')
.then(function (response) {
//console.log(response.data);
data = response.data
})
.catch(function (error) {
//console.log(error);
});
</script>
</body>
</html>