![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js
+++++
这个作者很懒,什么都没留下…
展开
-
axios二次封装 简单
http.js import axios from 'axios' export function post(url, data = {}) { return new Promise((resolve, reject) => { axios.post(url, data) .then(response => { resolve(response.data); }, err => { reject(err) })原创 2021-03-11 19:02:54 · 111 阅读 · 0 评论 -
js星空效果
直接复制就可以使用 <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>星空背景</title> </head> <body> <!-- <form action="user/view" method="get"> 用户名:原创 2021-03-10 18:33:42 · 144 阅读 · 0 评论