From 7d116115ade208f26ada36806642d2a3a6085c91 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期一, 09 三月 2026 13:07:49 +0800
Subject: [PATCH] 1

---
 open-rcs/components/content/content-interface-word.html |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/open-rcs/components/content/content-interface-word.html b/open-rcs/components/content/content-interface-word.html
index 32db755..e85c46c 100644
--- a/open-rcs/components/content/content-interface-word.html
+++ b/open-rcs/components/content/content-interface-word.html
@@ -1029,11 +1029,14 @@
 </div>
 
 <script>
+    // API閰嶇疆鏁版嵁
+    let apiConfigs = [];
+
     // 鍔ㄦ�佸姞杞紸PI閰嶇疆骞舵覆鏌撴帴鍙e唴瀹�
     function loadApiConfigs() {
         try {
             // 鐩存帴瀹氫箟API閰嶇疆鏁版嵁锛岄伩鍏岰ORS閿欒
-            const apiConfigs = [
+            apiConfigs = [
                 {
                     "apiId": "api-task-create",
                     "name": "鐢熸垚浠诲姟鍗�",
@@ -1969,6 +1972,11 @@
             if (section) {
                 section.scrollIntoView({ behavior: 'smooth' });
             }
+        } else if (event.data.type === 'getApiConfigs') {
+            event.source.postMessage({
+                type: 'apiConfigs',
+                data: apiConfigs
+            }, '*');
         }
     });
 </script>

--
Gitblit v1.9.1