fix: [cascader, loading] fix docs api jump demo (#1129)

This commit is contained in:
yoyo 2023-12-14 15:40:35 +08:00 committed by GitHub
parent aef96eda64
commit 899174994c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 10 deletions

View File

@ -502,7 +502,7 @@ export default {
'zh-CN': '次级菜单的展开方式', 'zh-CN': '次级菜单的展开方式',
'en-US': 'The expansion mode of the secondary menu' 'en-US': 'The expansion mode of the secondary menu'
}, },
'demoId': 'basic-usage' 'demoId': 'expand-trigger'
}, },
{ {
'name': 'multiple', 'name': 'multiple',

View File

@ -62,8 +62,7 @@ export default {
'demoId': 'fullscreen', 'demoId': 'fullscreen',
'name': { 'zh-CN': '全屏加载', 'en-US': 'Fullscreen Loading' }, 'name': { 'zh-CN': '全屏加载', 'en-US': 'Fullscreen Loading' },
'desc': { 'desc': {
'zh-CN': 'zh-CN': `<p>
`<p>
<div>通过 <code>v-loading.lock.fullscreen</code> </div> <div>通过 <code>v-loading.lock.fullscreen</code> </div>
<div>也能通过<code>Loading.service</code></div> <div>也能通过<code>Loading.service</code></div>
</p>`, </p>`,
@ -105,8 +104,7 @@ export default {
'defaultValue': 'true', 'defaultValue': 'true',
'desc': { 'desc': {
'zh-CN': '属性为 true 显示全屏,同 v-loading 指令中的 fullscreen 修饰符', 'zh-CN': '属性为 true 显示全屏,同 v-loading 指令中的 fullscreen 修饰符',
'en-US': 'en-US': 'Set true to display the full screen. Same as the fullscreen modifier in the v-loading instruction'
'Set true to display the full screen. Same as the fullscreen modifier in the v-loading instruction'
}, },
'demoId': 'fullscreen' 'demoId': 'fullscreen'
}, },
@ -169,7 +167,7 @@ export default {
'desc': { 'zh-CN': 'Loading 的自定义类名', 'en-US': 'User-defined loading class name' }, 'desc': { 'zh-CN': 'Loading 的自定义类名', 'en-US': 'User-defined loading class name' },
'demoId': 'custom-class' 'demoId': 'custom-class'
} }
], ]
}, },
{ {
'name': 'loading', 'name': 'loading',
@ -226,8 +224,7 @@ export default {
'desc': { 'desc': {
'zh-CN': '命令修饰符遮罩层是否在body上', 'zh-CN': '命令修饰符遮罩层是否在body上',
'en-US': 'Command modifier: Whether the mask is on the body' 'en-US': 'Command modifier: Whether the mask is on the body'
}, }
'demoId': 'fullscreen'
}, },
{ {
'name': 'lock', 'name': 'lock',
@ -237,8 +234,8 @@ export default {
'en-US': 'Command modifier: Whether to lock scroll in full screen' 'en-US': 'Command modifier: Whether to lock scroll in full screen'
}, },
'demoId': 'fullscreen' 'demoId': 'fullscreen'
}, }
], ]
} }
] ]
} }