From efef672157af65339905ea7f4c4a0ae83e0d824f Mon Sep 17 00:00:00 2001
From: w940853815 <940853815@qq.com>
Date: Sat, 8 Feb 2025 18:23:59 +0800
Subject: [PATCH 1/2] perf: code copy
---
src/views/pam/Integration/SDKList.vue | 98 ++++++++++-----------------
1 file changed, 36 insertions(+), 62 deletions(-)
diff --git a/src/views/pam/Integration/SDKList.vue b/src/views/pam/Integration/SDKList.vue
index 9c0749ad3..8b1406dff 100644
--- a/src/views/pam/Integration/SDKList.vue
+++ b/src/views/pam/Integration/SDKList.vue
@@ -1,38 +1,34 @@
-
- Python
- Go
-
+
+
+
+
+
+ {{ $tc('NoData') }}
+
+
+
+
+
+
+
-
-
-
-
- {{ $tc('NoData') }}
-
-
-
-
-
-
+
From 7dcecd44214b6348326998e5f232cb58aafcd1a1 Mon Sep 17 00:00:00 2001
From: w940853815 <940853815@qq.com>
Date: Mon, 10 Feb 2025 16:40:42 +0800
Subject: [PATCH 2/2] perf: modify markdown code style
---
src/views/pam/Integration/SDKList.vue | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/views/pam/Integration/SDKList.vue b/src/views/pam/Integration/SDKList.vue
index 8b1406dff..a625a6158 100644
--- a/src/views/pam/Integration/SDKList.vue
+++ b/src/views/pam/Integration/SDKList.vue
@@ -5,7 +5,7 @@
-
+
{{ $tc('NoData') }}
@@ -25,6 +25,7 @@
import { IBox } from '@/components'
import VueMarkdown from 'vue-markdown'
import { highlightBlock } from 'highlight.js'
+import 'highlight.js/styles/github.css'
export default {
name: 'SDKList',
@@ -81,6 +82,10 @@ export default {
.code-container {
position: relative;
}
+.code-markdown {
+ min-height: 210px;
+ border: 1px solid #DCDFE6;
+}
.copy-btn {
font-size: 20px;