- Added new entry for "STAFF-20003" role in `jwt_service.py` to support additional user permissions. - Revised the demo SOP documentation to reflect updated processes and clarify the presentation flow, including changes to the demo script and internal guidelines. - Enhanced the presentation materials with a new HTML slide deck for the advisor agent demo, ensuring a cohesive visual representation of the features and capabilities. - Updated various documentation files to align with recent changes in the advisor agent functionalities and testing baselines. This update improves the clarity and usability of the demo materials while ensuring that the documentation accurately reflects the current state of the project.
31 lines
1.0 KiB
TypeScript
31 lines
1.0 KiB
TypeScript
import { StrictMode } from 'react'
|
|
import { createRoot } from 'react-dom/client'
|
|
import { App as AntApp, ConfigProvider } from 'antd'
|
|
import { AuthProvider } from './context/AuthProvider'
|
|
import zhCN from 'antd/locale/zh_CN'
|
|
import { HashRouter } from 'react-router-dom'
|
|
import App from './App'
|
|
import { ErrorBoundary } from './components/ErrorBoundary'
|
|
import { appTheme } from './theme'
|
|
import '@fontsource-variable/inter'
|
|
// Radix Colors:只引 slate / jade,选用依据见 styles/tokens.css 的「Ramps」注释块
|
|
import '@radix-ui/colors/slate.css'
|
|
import '@radix-ui/colors/jade.css'
|
|
import './styles/global.css'
|
|
|
|
createRoot(document.getElementById('root')!).render(
|
|
<StrictMode>
|
|
<ErrorBoundary fallbackTitle="应用加载失败">
|
|
<ConfigProvider theme={appTheme} locale={zhCN}>
|
|
<AntApp>
|
|
<AuthProvider>
|
|
<HashRouter>
|
|
<App />
|
|
</HashRouter>
|
|
</AuthProvider>
|
|
</AntApp>
|
|
</ConfigProvider>
|
|
</ErrorBoundary>
|
|
</StrictMode>,
|
|
)
|