Skip to content

Commit

Permalink
绑定域名去掉base路径
Browse files Browse the repository at this point in the history
  • Loading branch information
QAQWangJX committed Sep 7, 2024
1 parent 5fe8d46 commit 612e3aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,6 @@ function App () {
const semiMajorAxis = semiMajorAxisVal.current
const semiMinorAxis = semiMinorAxisVal.current
let i = 0
console.log('startOffsetObj.current', startOffsetObj.current)
ellipseIsShow.current = true;
imgDarken.current = false;
setTimeout(() => {
Expand Down Expand Up @@ -566,9 +565,7 @@ function App () {
const width = boundingBox.max.x - boundingBox.min.x;
textMesh.position.set(x, y, 0);
// 计算旋转角度以使其与圆周平行
console.log('angle=', angle)
const rotationAngle = angle + Math.PI / 2;
console.log('rotationAngle=', rotationAngle)
textMesh.rotation.z = rotationAngle;
scene.add(textMesh);
}
Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
base:'/reactAnimate/'
// base:'/reactAnimate/'
})

0 comments on commit 612e3aa

Please sign in to comment.