This commit is contained in:
2025-07-10 14:16:42 +08:00
parent b4b5ea3994
commit 08adb88985
2 changed files with 26 additions and 6 deletions

View File

@@ -668,8 +668,18 @@ export default {
this.stepFlag = this.nowPass.state
let nowPass = this.nowPass
let temp = nowPass.step % 8
// 计算circleStart的角度1~7分别对应0,45,90,135,180,225,2700对应315
this.circleStart = temp === 0 ? 315 : (temp - 1) * 45
const angleMap = {
0: 315,
1: 0,
2: 90,
3: 45,
4: 135,
5: 180,
6: 270,
7: 225,
8: 315,
};
this.circleStart = angleMap[temp];
})
},