@@ -2,8 +2,9 @@
### API
###### get(url, params = {})
get请求。
- * url: 接口地址
- * params: 请求参数
+>url: 接口地址
+params: 请求参数
+
使用方式:
```
this.API.get("powercompare/windfarmAjax").then((res) => {
@@ -13,8 +14,9 @@ this.API.get("powercompare/windfarmAjax").then((res) => {
###### post(url, params = {})
post请求。
this.API.post("login", {