chore: fix debounce of markdown example (#525) [ci skip]
This commit is contained in:
		
							parent
							
								
									65bfe0130c
								
							
						
					
					
						commit
						9b5c4a2ec1
					
				@ -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,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user