chore: fix debounce of markdown example (#525) [ci skip]
This commit is contained in:
@@ -14,7 +14,7 @@ const App = {
|
|||||||
setup() {
|
setup() {
|
||||||
const input = ref('# hello')
|
const input = ref('# hello')
|
||||||
const output = computed(() => marked(input.value, { sanitize: true }))
|
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 {
|
return {
|
||||||
input,
|
input,
|
||||||
|
|||||||
Reference in New Issue
Block a user