首页调整转速
This commit is contained in:
parent
cc7fc7fc64
commit
6aff68e237
@ -89,7 +89,7 @@ const props = defineProps({
|
|||||||
|
|
||||||
const getAnimationStyle = (item) => {
|
const getAnimationStyle = (item) => {
|
||||||
const irotorspeed = item.attributeMap?.irotorspeed ?? 0
|
const irotorspeed = item.attributeMap?.irotorspeed ?? 0
|
||||||
const animationDuration = 60 / irotorspeed
|
const animationDuration = 1 / irotorspeed * 20
|
||||||
return {
|
return {
|
||||||
'animation-duration': `${animationDuration}s`,
|
'animation-duration': `${animationDuration}s`,
|
||||||
'animation-timing-function': 'linear',
|
'animation-timing-function': 'linear',
|
||||||
|
Loading…
Reference in New Issue
Block a user