docs: add docs for option-group and switch

Change-Id: I9d2b7e37af40febdbf02104ab7a8756de753e134
This commit is contained in:
xiaodemen
2022-03-25 13:49:27 +08:00
committed by GU Yiling
parent f098a1bb8c
commit ef735a625b
4 changed files with 19 additions and 1 deletions

View File

@@ -28,7 +28,8 @@ export default {
props: ['model']
},
switch: {
props: ['model']
props: ['model', 'offLabel', 'onLabel'],
slots: ['content']
},
drawer: {
props: ['inline']
@@ -36,6 +37,9 @@ export default {
select: {
props: ['max'] // 脚本没识别出来,先忽略
},
'option-group': {
props: ['optionTag']
},
link: {
props: ['replace']
},