chore: fix debounce of markdown example (#525) [ci skip]

This commit is contained in:
CodinCat 2019-12-10 04:16:44 +09:00 committed by Evan You
parent 65bfe0130c
commit 9b5c4a2ec1

View File

@ -14,7 +14,7 @@ const App = {
setup() {
const input = ref('# hello')
const output = computed(() => marked(input.value, { sanitize: true }))
const update = _.debounce(e => { input.value = e.target.value })
const update = _.debounce(e => { input.value = e.target.value }, 300)
return {
input,