Fix reversi settings bot switch (#3609)
This commit is contained in:
		
							parent
							
								
									a78eebc43f
								
							
						
					
					
						commit
						8bd17703c3
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -60,7 +60,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			<div>
 | 
								<div>
 | 
				
			||||||
				<template v-for="item in form">
 | 
									<template v-for="item in form">
 | 
				
			||||||
					<ui-switch v-if="item.type == 'switch'" v-model="item.value" :key="item.id" :text="item.label" @change="onChangeForm(item)">{{ item.desc || '' }}</ui-switch>
 | 
										<ui-switch v-if="item.type == 'switch'" v-model="item.value" :key="item.id" @change="onChangeForm(item)">{{ item.label || item.desc || '' }}</ui-switch>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
					<div class="card" v-if="item.type == 'radio'" :key="item.id">
 | 
										<div class="card" v-if="item.type == 'radio'" :key="item.id">
 | 
				
			||||||
						<header>
 | 
											<header>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -124,7 +124,7 @@ type: `switch`
 | 
				
			||||||
スイッチを表示します。何かの機能をオン/オフさせたい場合に有用です。
 | 
					スイッチを表示します。何かの機能をオン/オフさせたい場合に有用です。
 | 
				
			||||||
 | 
					
 | 
				
			||||||
##### プロパティ
 | 
					##### プロパティ
 | 
				
			||||||
`desc` ... スイッチの詳細な説明。
 | 
					`label` ... スイッチに表記するテキスト。
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#### ラジオボタン
 | 
					#### ラジオボタン
 | 
				
			||||||
type: `radio`
 | 
					type: `radio`
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue