diff --git a/apps/web-antd/src/bootstrap.ts b/apps/web-antd/src/bootstrap.ts
index fe7d9650..af8b0505 100644
--- a/apps/web-antd/src/bootstrap.ts
+++ b/apps/web-antd/src/bootstrap.ts
@@ -9,6 +9,7 @@ import '@vben/styles';
import '@vben/styles/antd';
import { useTitle } from '@vueuse/core';
+import Antd from 'ant-design-vue';
import { $t, setupI18n } from '#/locales';
@@ -16,6 +17,8 @@ import { initComponentAdapter } from './adapter/component';
import App from './app.vue';
import { router } from './router';
+import 'ant-design-vue/dist/reset.css';
+
async function bootstrap(namespace: string) {
// 初始化组件适配器
await initComponentAdapter();
@@ -49,6 +52,9 @@ async function bootstrap(namespace: string) {
// 初始化 tippy
initTippy(app);
+ // 全局加载 antdv
+ app.use(Antd);
+
// 配置路由及路由守卫
app.use(router);
diff --git a/apps/web-antd/src/locales/langs/en-US/page.json b/apps/web-antd/src/locales/langs/en-US/page.json
index 738bd7c9..50936a3a 100644
--- a/apps/web-antd/src/locales/langs/en-US/page.json
+++ b/apps/web-antd/src/locales/langs/en-US/page.json
@@ -41,5 +41,25 @@
"mark": "Mark",
"operation": "Operation",
"updated_time": "Update time"
+ },
+ "monitor": {
+ "redis": {
+ "desc": {
+ "title": "Basic Information"
+ },
+ "cards": {
+ "commands": {
+ "title": "Command Statistics"
+ },
+ "memory": {
+ "title": "Memory Status"
+ }
+ },
+ "stats": {
+ "title": {
+ "used_memory": "Used Memory"
+ }
+ }
+ }
}
}
diff --git a/apps/web-antd/src/locales/langs/zh-CN/page.json b/apps/web-antd/src/locales/langs/zh-CN/page.json
index fb5860ee..b7ca09f6 100644
--- a/apps/web-antd/src/locales/langs/zh-CN/page.json
+++ b/apps/web-antd/src/locales/langs/zh-CN/page.json
@@ -41,5 +41,25 @@
"mark": "备注",
"operation": "操作",
"updated_time": "更新时间"
+ },
+ "monitor": {
+ "redis": {
+ "desc": {
+ "title": "基本信息"
+ },
+ "cards": {
+ "commands": {
+ "title": "命令统计"
+ },
+ "memory": {
+ "title": "内存情况"
+ }
+ },
+ "stats": {
+ "title": {
+ "used_memory": "已使用内存"
+ }
+ }
+ }
}
}
diff --git a/apps/web-antd/src/views/monitor/redis/components/active-series.vue b/apps/web-antd/src/views/monitor/redis/components/active-series.vue
new file mode 100644
index 00000000..7baffde3
--- /dev/null
+++ b/apps/web-antd/src/views/monitor/redis/components/active-series.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
diff --git a/apps/web-antd/src/views/monitor/redis/components/commands-series.vue b/apps/web-antd/src/views/monitor/redis/components/commands-series.vue
new file mode 100644
index 00000000..9d22fa2b
--- /dev/null
+++ b/apps/web-antd/src/views/monitor/redis/components/commands-series.vue
@@ -0,0 +1,69 @@
+
+
+
+
+
diff --git a/apps/web-antd/src/views/monitor/redis/index.vue b/apps/web-antd/src/views/monitor/redis/index.vue
index 26fbfb3d..a3c744c9 100644
--- a/apps/web-antd/src/views/monitor/redis/index.vue
+++ b/apps/web-antd/src/views/monitor/redis/index.vue
@@ -1,6 +1,8 @@
-
-
- 123
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ 123
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/effects/plugins/src/echarts/echarts.ts b/packages/effects/plugins/src/echarts/echarts.ts
index 85323a42..294f29e2 100644
--- a/packages/effects/plugins/src/echarts/echarts.ts
+++ b/packages/effects/plugins/src/echarts/echarts.ts
@@ -12,7 +12,13 @@ import type {
} from 'echarts/components';
import type { ComposeOption } from 'echarts/core';
-import { BarChart, LineChart, PieChart, RadarChart } from 'echarts/charts';
+import {
+ BarChart,
+ GaugeChart,
+ LineChart,
+ PieChart,
+ RadarChart,
+} from 'echarts/charts';
import {
// 数据集组件
DatasetComponent,
@@ -54,6 +60,7 @@ echarts.use([
CanvasRenderer,
LegendComponent,
ToolboxComponent,
+ GaugeChart,
]);
export default echarts;