From bdfab89d8afbc60faeb89715a461f77e877d7f5d Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期一, 03 八月 2026 00:02:37 +0800
Subject: [PATCH] feat: 新增徐州什克金属制品有限公司配置文件

---
 src/main.js |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/src/main.js b/src/main.js
index b80c9b6..4282195 100644
--- a/src/main.js
+++ b/src/main.js
@@ -48,6 +48,8 @@
 import ImageUpload from "@/components/AttachmentUpload/image";
 // 鍥剧墖棰勮缁勪欢
 import ImagePreview from "@/components/AttachmentPreview/image";
+// 闄勪欢寮圭獥缁勪欢
+import FileListDialog from "@/components/Dialog/FileList.vue";
 // 瀛楀吀鏍囩缁勪欢
 import DictTag from "@/components/DictTag";
 // 琛ㄦ牸缁勪欢
@@ -92,6 +94,7 @@
 app.component("FileUpload", FileUpload);
 app.component("ImageUpload", ImageUpload);
 app.component("ImagePreview", ImagePreview);
+app.component("FileListDialog", FileListDialog);
 app.component("RightToolbar", RightToolbar);
 app.component("Editor", Editor);
 app.component("PIMTable", PIMTable);
@@ -112,5 +115,22 @@
   size: Cookies.get("size") || "default",
 });
 app._context.components.ElDialog.props.closeOnClickModal.default = false;
+const ElTable = app._context.components.ElTable;
+if (ElTable?.props?.tooltipOptions) {
+  if (ElTable.props.tooltipOptions === Object) {
+    ElTable.props.tooltipOptions = {
+      type: Object,
+      default: () => ({
+        appendTo: "body",
+      }),
+    };
+  } else if (typeof ElTable.props.tooltipOptions === "object") {
+    ElTable.props.tooltipOptions.default =
+      ElTable.props.tooltipOptions.default ||
+      (() => ({
+        appendTo: "body",
+      }));
+  }
+}
 
 app.mount("#app");

--
Gitblit v1.9.3