From 4f1f1c85d9e0fe2bf565f985c5412dabad7d2b48 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Thu, 10 Dec 2020 10:45:22 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=87=E6=8D=A2=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/common/head/SearchList.vue | 44 ++++++++++++------- .../components/common/head/ShowAll.vue | 10 ++++- frontend/src/business/components/xpack | 2 +- frontend/src/common/js/constants.js | 1 + frontend/src/i18n/zh-CN.js | 2 +- 5 files changed, 40 insertions(+), 19 deletions(-) diff --git a/frontend/src/business/components/common/head/SearchList.vue b/frontend/src/business/components/common/head/SearchList.vue index d399064435..b3f47d280f 100644 --- a/frontend/src/business/components/common/head/SearchList.vue +++ b/frontend/src/business/components/common/head/SearchList.vue @@ -12,7 +12,7 @@
- + @@ -23,8 +23,8 @@ diff --git a/frontend/src/business/components/xpack b/frontend/src/business/components/xpack index 8a972a1987..a22a3005d9 160000 --- a/frontend/src/business/components/xpack +++ b/frontend/src/business/components/xpack @@ -1 +1 @@ -Subproject commit 8a972a198775b3783ed6e4cef27197e53d1ebdc8 +Subproject commit a22a3005d9bd254793fcf634d72539cbdf31be3a diff --git a/frontend/src/common/js/constants.js b/frontend/src/common/js/constants.js index 8a09180ad9..a0cbf2420d 100644 --- a/frontend/src/common/js/constants.js +++ b/frontend/src/common/js/constants.js @@ -10,6 +10,7 @@ export const ROLE_TEST_VIEWER = 'test_viewer'; export const WORKSPACE_ID = 'workspace_id'; export const CURRENT_PROJECT = 'current_project'; +export const PROJECT_ID = 'project_id'; export const REFRESH_SESSION_USER_URL = 'user/refresh'; export const WORKSPACE = 'workspace'; diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index 1d5ec370cb..d4dab4c28f 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -279,7 +279,7 @@ export default { verified: '验证通过' } }, - edit: { + project: { recent: '最近的项目', create: '创建项目', edit: '编辑项目',