File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# 数据可视化大屏 (SC DataV)
22
3- [ http ://localhost:5173 /sc-datav/#/] ( http ://localhost:5173 /sc-datav/#/)
3+ [ https ://knight-l.github.io /sc-datav/#/] ( https ://knight-l.github.io /sc-datav/#/)
44![ demo1] ( ./demo_1.png )
5- [ http ://localhost:5173 /sc-datav/#/demo1] ( http ://localhost:5173 /sc-datav/#/demo1)
5+ [ https ://knight-l.github.io /sc-datav/#/demo1] ( https ://knight-l.github.io /sc-datav/#/demo1)
66![ demo2] ( ./demo_2.png )
77
88## 功能特性
Original file line number Diff line number Diff line change 1- import { Suspense } from "react" ;
21import styled from "styled-components" ;
3- import { OrbitControls , ContactShadows , Loader } from "@react-three/drei" ;
2+ import { OrbitControls , ContactShadows } from "@react-three/drei" ;
43import { Canvas } from "@react-three/fiber" ;
54import type { CityGeoJSON } from "@/pages/SCDataV/map" ;
65import Content from "./content" ;
@@ -41,9 +40,7 @@ export default function Map() {
4140 < Lights />
4241 < Sky />
4342
44- < Suspense fallback = { null } >
45- < Base data = { mapData } outlineData = { outlineData } />
46- </ Suspense >
43+ < Base data = { mapData } outlineData = { outlineData } />
4744
4845 < Bottom />
4946
@@ -69,7 +66,6 @@ export default function Map() {
6966 </ Canvas >
7067 </ CanvasWrapper >
7168 < Content />
72- < Loader />
7369 </ Wrapper >
7470 ) ;
7571}
You can’t perform that action at this time.
0 commit comments