From 1e63674445abd76640a0ee31a90a966613ec31da Mon Sep 17 00:00:00 2001 From: liuyi Date: Fri, 12 Jul 2024 10:19:40 +0800 Subject: [PATCH] feat: use yice to replace dt-utils --- src/data/config.ts | 1 + src/data/doc.ts | 17 ++++++++++++----- src/data/menu.ts | 8 +++++++- 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/src/data/config.ts b/src/data/config.ts index 727a087..07efcf6 100644 --- a/src/data/config.ts +++ b/src/data/config.ts @@ -4,6 +4,7 @@ const APP_CONF = { COMPONENT: 'https://dtstack.github.io/dt-react-component/?path=/story/*', TAIER: 'https://dtstack.github.io/Taier/', DT_UTILS: 'https://dtstack.github.io/dt-utils/#/', + YI_CE: 'https://github.com/DTStack/yice-performance', DT_SQL_PARSER: 'https://dtstack.github.io/monaco-sql-languages/', DORAEMON: 'https://dtstack.github.io/doraemon/docsify/#/', IMAGE_DOMAIN: 'http://assets.dtstack.com', diff --git a/src/data/doc.ts b/src/data/doc.ts index 934af92..fb65ef5 100644 --- a/src/data/doc.ts +++ b/src/data/doc.ts @@ -79,12 +79,19 @@ export const OriginList = [ jump_url: APP_CONF.KO, }, { - key: 'dt-utils', - imgUrl: `${APP_CONF.IMAGE_DOMAIN}/UEDLanding/Home/dt-utils.png`, - title: 'dt-utils', - subTitle: '袋鼠云实用工具库', - jump_url: APP_CONF.DT_UTILS + key: 'yice-performance', + imgUrl: `${APP_CONF.IMAGE_DOMAIN}/UEDLanding/Home/yice.png`, + title: '易测', + subTitle: '易测性能检测平台', + jump_url: APP_CONF.YI_CE }, + // { + // key: 'dt-utils', + // imgUrl: `${APP_CONF.IMAGE_DOMAIN}/UEDLanding/Home/yice.png`, + // title: 'dt-utils', + // subTitle: '袋鼠云实用工具库', + // jump_url: APP_CONF.DT_UTILS + // }, { key: 'Doraemon', imgUrl: `${APP_CONF.IMAGE_DOMAIN}/UEDLanding/Home/doraemon.png`, diff --git a/src/data/menu.ts b/src/data/menu.ts index 8c71721..5d3bbc8 100644 --- a/src/data/menu.ts +++ b/src/data/menu.ts @@ -46,7 +46,7 @@ const menu = [ label: 'dt-sql-parser', jump_url: APP_CONF.DT_SQL_PARSER }, - { + { key: 'code-review-practices', name: 'code-review-practices', label: 'code-review-practices', @@ -76,6 +76,12 @@ const menu = [ label: 'dt-utils', jump_url: APP_CONF.DT_UTILS }, + { + key: 'yice-performance', + name: '易测性能检测平台', + label: '易测性能检测平台', + jump_url: APP_CONF.YI_CE + }, { key: 'Doraemon', name: 'Doraemon',