From 8e31053117555ccf7d856135a76dbe5eae8ff930 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 19 四月 2024 09:19:57 +0800
Subject: [PATCH] #

---
 src/pages/base.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pages/base.jsx b/src/pages/base.jsx
index fc7f556..6f453c0 100644
--- a/src/pages/base.jsx
+++ b/src/pages/base.jsx
@@ -28,14 +28,14 @@
 
 const Base = () => {
     return (
-        <div style={{ height: '500px', width: '500px' }}>
+        <div style={{ height: '100%', width: '100%' }}>
             <Canvas>
                 <ambientLight intensity={Math.PI / 2} />
                 <spotLight position={[10, 10, 10]} angle={0.15} penumbra={1} decay={0} intensity={Math.PI} />
                 <pointLight position={[-10, -10, -10]} decay={0} intensity={Math.PI} />
                 <Box position={[0, 0, 0]} />
                 <OrbitControls />
-                <Environment preset="city" />
+                <Environment background preset="warehouse" />
             </Canvas>
         </div>
 

--
Gitblit v1.9.1