axios
axiosaxios是一个专注于网络请求的库!
axios 的基本使用1.发起GET请求
123456789101112axios({ //请求方式 method:'GET', //请求地址 url:'http://www.xxx.com', //url中的查询参数(GET) params:{ id:1 }, }).then(function(result){ console.log(result); })
2.发起POST请求
1234567891011121314151617<body> <button id="btnPost">发起POST请求</button></body><script> document.querySelector('#btn ...
Vue列表过滤
代码实例(watch)12345678910111213141516171819202122232425262728293031323334353637383940414243444546<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>列表过滤</title> <script src="/js/vue.js"></script></head><body ...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment

