diff --git a/src/api/mock.ts b/src/api/mock.ts
index 0e1a17c0d..9701c797a 100644
--- a/src/api/mock.ts
+++ b/src/api/mock.ts
@@ -1,11 +1,11 @@
import { http } from "../utils/http";
// 地图数据
-export const mapJson = (data?: object): any => {
+export const mapJson = (data?: object) => {
return http.request("get", "/getMapInfo", data);
};
// echarts数据
-export const echartsJson = (data?: object): any => {
+export const echartsJson = (data?: object) => {
return http.request("get", "/getEchartsInfo", data);
};
diff --git a/src/api/routes.ts b/src/api/routes.ts
index 099ab2e86..bbd3527bf 100644
--- a/src/api/routes.ts
+++ b/src/api/routes.ts
@@ -1,5 +1,5 @@
import { http } from "../utils/http";
-export const getAsyncRoutes = (data?: object): any => {
+export const getAsyncRoutes = (data?: object) => {
return http.request("get", "/getAsyncRoutes", data);
};
diff --git a/src/api/user.ts b/src/api/user.ts
index 195670dac..402902d8a 100644
--- a/src/api/user.ts
+++ b/src/api/user.ts
@@ -1,16 +1,16 @@
import { http } from "../utils/http";
// 获取验证码
-export const getVerify = (): any => {
+export const getVerify = () => {
return http.request("get", "/captcha");
};
// 登录
-export const getLogin = (data: object): any => {
+export const getLogin = (data: object) => {
return http.request("post", "/login", data);
};
// 注册
-export const getRegist = (data: object): any => {
+export const getRegist = (data: object) => {
return http.request("post", "/register", data);
};
diff --git a/src/layout/components/tag/index.vue b/src/layout/components/tag/index.vue
index 3090208fe..7dbdb3ea3 100644
--- a/src/layout/components/tag/index.vue
+++ b/src/layout/components/tag/index.vue
@@ -45,7 +45,7 @@
:key="key"
style="display: flex; align-items: center"
>
-
+
{{ item.text }}
@@ -112,6 +112,7 @@ let refreshButton = "refresh-button";
let routerArrays: Array