继续提交

This commit is contained in:
2025-12-19 15:51:26 +08:00
parent 0ce60d78df
commit cf2203e3eb
500 changed files with 3259 additions and 7739 deletions

View File

@@ -1,10 +1,18 @@
import './utils/storageShim' // 必须在最前面导入,处理 localStorage 权限问题
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App.jsx'
import ErrorBoundary from './components/ErrorBoundary.jsx'
console.log('[MengyaNote] 应用启动...');
console.log('[MengyaNote] 环境:', import.meta.env.MODE);
console.log('[MengyaNote] API地址:', import.meta.env.VITE_API_BASE || 'http://192.168.1.233:2424');
createRoot(document.getElementById('root')).render(
<StrictMode>
<App />
<ErrorBoundary>
<App />
</ErrorBoundary>
</StrictMode>,
)