角度变化
This commit is contained in:
@@ -672,20 +672,20 @@ export default {
|
|||||||
if (this.nowPass !== {}) {
|
if (this.nowPass !== {}) {
|
||||||
let nowPass = this.nowPass
|
let nowPass = this.nowPass
|
||||||
|
|
||||||
let temp = nowPass.step % 8
|
let temp = nowPass.step % 8
|
||||||
const angleMap = {
|
const angleMap = {
|
||||||
0: 45,
|
0: 45,
|
||||||
1: 0,
|
1: 0,
|
||||||
2: 270,
|
2: 270,
|
||||||
3: 315,
|
3: 315,
|
||||||
4: 225,
|
4: 225,
|
||||||
5: 180,
|
5: 180,
|
||||||
6: 90,
|
6: 90,
|
||||||
7: 135,
|
7: 135,
|
||||||
8: 45,
|
8: 45,
|
||||||
};
|
};
|
||||||
this.circleStart = angleMap[temp];
|
this.circleStart = angleMap[temp];
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user