This commit is contained in:
fengrong 2024-12-05 10:31:10 +08:00
parent cb09ec03b7
commit 7b4e361e6e

View File

@ -91,11 +91,6 @@ const getAnimationStyle = (item) => {
const irotorspeed = item.attributeMap?.irotorspeed ?? 0 const irotorspeed = item.attributeMap?.irotorspeed ?? 0
let animationDuration; let animationDuration;
animationDuration = 60 / irotorspeed / 3 animationDuration = 60 / irotorspeed / 3
// if(irotorspeed>10){
// animationDuration= 60 / irotorspeed
// }else{
// animationDuration = 60 / irotorspeed / 5
// }
return { return {
'animation-duration': `${animationDuration}s`, 'animation-duration': `${animationDuration}s`,