axios.get传值使用params:{}
axios.post传值,直接写
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>axios get post </title>
<meta name="Keywords" content="关键字">
<meta name="description" content="简介">
<script src="https://unpkg.com/axios"></script>
<link rel="stylesheet" href="css/bootstrap.css">
</head>
<body>
<div class=