Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue 我要设置跳过动画,重写defaultConfig不生效 #507

Open
leoqwer2023 opened this issue Aug 16, 2024 · 0 comments
Open

Vue 我要设置跳过动画,重写defaultConfig不生效 #507

leoqwer2023 opened this issue Aug 16, 2024 · 0 comments

Comments

@leoqwer2023
Copy link

leoqwer2023 commented Aug 16, 2024

  • 你当前是什么框架(必填):Vue
  • 你使用的是哪个包(必填):npm install @lucky-canvas/vue@latest
  • 你当前插件的版本(必填):0.1.11
  • 当前环境是小程序还是浏览器(选填):
  • 详细描述你的bug:
    重写defaultConfig不生效,accelerationTime,decelerationTime为0时浏览器卡死
  • 问题代码(重要):
// 代码开始, 别再放歪了行吗
<LuckyWheel
    ref="myLucky"
    id="my-lucky"
    :prizes="prizes"
    :blocks="blocks"
    :defaultConfig="defaultConfig"
    @end="endCallback"
  />
this.defaultConfig = {
    speed: 20,
    accelerationTime:0,
    decelerationTime:0,
  }
// 代码结束
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant