首页
This commit is contained in:
parent
cb09ec03b7
commit
7b4e361e6e
@ -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`,
|
||||||
|
Loading…
Reference in New Issue
Block a user