+
diff --git a/src/locales/lang/en/default.json b/src/locales/lang/en/default.json
index 99a74b46..3fa15efa 100644
--- a/src/locales/lang/en/default.json
+++ b/src/locales/lang/en/default.json
@@ -45,5 +45,6 @@
"去": "Go",
"操作失败,请稍后重试":"Operation failed, please try again later",
"返回值解析失败":"Failed to parse the return value",
- "请求异常,请联系管理员":"The request is abnormal, Please contact the administrator"
+ "请求异常,请联系管理员":"The request is abnormal, Please contact the administrator",
+ "搜索":"Search"
}
diff --git a/src/router/index.ts b/src/router/index.ts
index bec23f1d..ed68689e 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -103,6 +103,14 @@ export const router = createRouter({
routes: flatteningRoutes2(constantRoutes),
});
+export const jump = (route:Pick
)=>{
+ if(route.meta?.isLink){
+ window.open(route.path,'_blank');
+ }else{
+ router.push(route.path);
+ }
+}
+
/**
*
* @param app