|
|
@@ -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,
|