diff --git a/src/components/JsonPretty/index.vue b/src/components/JsonPretty/index.vue
new file mode 100644
index 0000000..e86b348
--- /dev/null
+++ b/src/components/JsonPretty/index.vue
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/types/components.d.ts b/src/types/components.d.ts
index a006fce..99dd03f 100644
--- a/src/types/components.d.ts
+++ b/src/types/components.d.ts
@@ -34,6 +34,7 @@ declare module 'vue' {
IconTableSize: typeof import('./../components/icons/IconTableSize.vue')['default']
IconTreeAdd: typeof import('./../components/icons/IconTreeAdd.vue')['default']
IconTreeReduce: typeof import('./../components/icons/IconTreeReduce.vue')['default']
+ JsonPretty: typeof import('./../components/JsonPretty/index.vue')['default']
ParentView: typeof import('./../components/ParentView/index.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
diff --git a/src/utils/index.ts b/src/utils/index.ts
index 0fc8669..0b33b55 100644
--- a/src/utils/index.ts
+++ b/src/utils/index.ts
@@ -1,6 +1,7 @@
import { isExternal } from "@/utils/validate";
import { browse, mapTree } from "xe-utils";
import _ from "lodash";
+import { Message } from "@arco-design/web-vue";
export function getProperty(obj: T, key: K): T[K] {
return obj[key]
@@ -242,3 +243,12 @@ export const formatFileSize = (fileSize: number) => {
const size = srcSize / 1024 ** index
return `${size.toFixed(2)} ${unitArr[index]}`
}
+export const copyText =(text:any) =>{
+ const textarea = document.createElement('textarea');
+ textarea.value = text;
+ document.body.appendChild(textarea);
+ textarea.select();
+ document.execCommand('copy');
+ document.body.removeChild(textarea);
+ Message.success('复制成功')
+}
\ No newline at end of file
diff --git a/src/views/system/log/OperationLogDetailDrawer.vue b/src/views/system/log/OperationLogDetailDrawer.vue
index 01f71d3..b36d87c 100644
--- a/src/views/system/log/OperationLogDetailDrawer.vue
+++ b/src/views/system/log/OperationLogDetailDrawer.vue
@@ -38,21 +38,11 @@
-
+
无
-
+
无
@@ -68,21 +58,11 @@
-
+
无
-
+
无
@@ -93,8 +73,7 @@