31 lines
		
	
	
		
			420 B
		
	
	
	
		
			Vue
		
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			420 B
		
	
	
	
		
			Vue
		
	
	
| <docs>
 | |
| ---
 | |
| order: 3
 | |
| title:
 | |
|   zh-CN: ä¸å¯į¨
 | |
|   en-US: Disabled
 | |
| ---
 | |
| 
 | |
| ## zh-CN
 | |
| 
 | |
| checkbox ä¸å¯į¨
 | |
| 
 | |
| ## en-US
 | |
| 
 | |
| Disabled checkbox
 | |
| 
 | |
| </docs>
 | |
| 
 | |
| <template>
 | |
|   <a-checkbox v-model:checked="state.checked1" disabled />
 | |
|   <br />
 | |
|   <a-checkbox v-model:checked="state.checked2" disabled />
 | |
| </template>
 | |
| <script lang="ts" setup>
 | |
| import { reactive } from 'vue';
 | |
| const state = reactive({
 | |
|   checked1: false,
 | |
|   checked2: true,
 | |
| });
 | |
| </script>
 |