Sfoglia il codice sorgente

AI: 修复页面空白问题

D8D AI 1 anno fa
parent
commit
60e7792d96
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 1 1
      src/components/Home.jsx
  2. 1 0
      src/main.jsx

+ 1 - 1
src/components/Home.jsx

@@ -8,7 +8,7 @@ function Home() {
   return (
     <div>
       <Title level={2}>欢迎使用会友信息管理系统</Title>
-      <p>当前时间: 2024-10-29 11:57:05</p>
+      <p>当前时间: 2024-10-29 11:58:53</p>
       <Row gutter={16} style={{ marginTop: 20 }}>
         <Col span={8}>
           <Card>

+ 1 - 0
src/main.jsx

@@ -1,6 +1,7 @@
 import React from 'react'
 import ReactDOM from 'react-dom/client'
 import App from './App.jsx'
+import 'antd/dist/antd.css'
 
 ReactDOM.createRoot(document.getElementById('root')).render(
   <React.StrictMode>