转速
This commit is contained in:
parent
e2c7475b14
commit
daa77d4cf2
@ -90,7 +90,7 @@ const props = defineProps({
|
|||||||
const getAnimationStyle = (item) => {
|
const getAnimationStyle = (item) => {
|
||||||
const irotorspeed = item.attributeMap?.irotorspeed ?? 0
|
const irotorspeed = item.attributeMap?.irotorspeed ?? 0
|
||||||
let animationDuration;
|
let animationDuration;
|
||||||
if(irotorspeed>15){
|
if(irotorspeed>10){
|
||||||
animationDuration= 60 / irotorspeed
|
animationDuration= 60 / irotorspeed
|
||||||
}else{
|
}else{
|
||||||
animationDuration = 60 / irotorspeed / 5
|
animationDuration = 60 / irotorspeed / 5
|
||||||
|
Loading…
Reference in New Issue
Block a user