vue

130 阅读1分钟

lazy

  • <input v-model="test" lazy />
  • test不会动态改变

debounce

  • <input v-model="test" debounce="5000" />
  • 延迟5000ms test才会变化