From a8619e7f4ff41d5d9ae2f50cab0f2c0efd648003 Mon Sep 17 00:00:00 2001
From: 1 <1@123>
Date: 星期一, 16 三月 2026 13:39:09 +0800
Subject: [PATCH] lsh#

---
 rsf-admin/src/layout/AppBarToolbar.jsx |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/rsf-admin/src/layout/AppBarToolbar.jsx b/rsf-admin/src/layout/AppBarToolbar.jsx
index ea23bef..ff7cd2b 100644
--- a/rsf-admin/src/layout/AppBarToolbar.jsx
+++ b/rsf-admin/src/layout/AppBarToolbar.jsx
@@ -1,11 +1,28 @@
 import { LoadingIndicator, LocalesMenuButton } from 'react-admin';
-
 import { ThemeSwapper } from '../themes/ThemeSwapper';
+import { TenantTip } from './TenantTip';
+import { AiChatWidget } from '@/ai/AiChatWidget';
 
 export const AppBarToolbar = () => (
     <>
         <LocalesMenuButton />
         <ThemeSwapper />
         <LoadingIndicator />
+        <AiChatWidget
+            trigger="button"
+            buttonText="AI 瀵硅瘽"
+            buttonVariant="text"
+            buttonSx={{
+                minWidth: 'auto',
+                px: 1.25,
+                color: '#fff',
+                borderRadius: 2,
+                whiteSpace: 'nowrap',
+                '&:hover': {
+                    backgroundColor: 'rgba(255,255,255,0.12)'
+                }
+            }}
+        />
+        <TenantTip />
     </>
 );

--
Gitblit v1.9.1