From: CodinCat Date: Mon, 9 Dec 2019 19:16:44 +0000 (+0900) Subject: chore: fix debounce of markdown example (#525) [ci skip] X-Git-Tag: v3.0.0-alpha.0~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b5c4a2ec1790ca06eacd38530ebc9fef850f800;p=thirdparty%2Fvuejs%2Fcore.git chore: fix debounce of markdown example (#525) [ci skip] --- diff --git a/packages/vue/examples/composition/markdown.html b/packages/vue/examples/composition/markdown.html index 9fc8154a60..9a75d45ee3 100644 --- a/packages/vue/examples/composition/markdown.html +++ b/packages/vue/examples/composition/markdown.html @@ -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,