From 7ac33b1148d40cf056a42e77ca34b4885f621bae Mon Sep 17 00:00:00 2001
From: zhang_nuo <zhang_12370@163.com>
Date: 星期一, 21 九月 2026 19:06:20 +0800
Subject: [PATCH] refactor(财务管理-收款单): 统一分页事件参数命名

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

diff --git a/src/main.js b/src/main.js
index 025ff14..4282195 100644
--- a/src/main.js
+++ b/src/main.js
@@ -115,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