docs(components): Test document walkthrough (#1274)

This commit is contained in:
chenxi-20 2024-01-09 14:28:25 +08:00 committed by GitHub
parent df8d54abbe
commit aea54338ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -42,6 +42,6 @@ const links = ref([
])
function handleChange(link) {
Modal.message(`change${link}`)
Modal.message({ message: `change${link}`, status: 'info' })
}
</script>

View File

@ -49,7 +49,7 @@ export default {
},
methods: {
handleChange(link) {
Modal.message(`change${link}`)
Modal.message({ message: `change${link}`, status: 'info' })
}
}
}

View File

@ -88,7 +88,7 @@ export default {
},
{
'name': 'type',
'type': '"line" | "dot"',
'type': `'line' | 'dot'`,
'defaultValue': `'line'`,
'desc': {
'zh-CN': '锚点类型',

View File

@ -25,7 +25,7 @@ export default {
'demoId': 'mini-mode',
'name': { 'zh-CN': '迷你模式', 'en-US': 'Mini mode' },
'desc': {
'zh-CN': '通过 <code>mini</code> 设置为mini模式。',
'zh-CN': '通过 <code>mini</code> 设置为 mini 模式。',
'en-US': 'Set to mini mode through <code>mini</code> .'
},
'codeFiles': ['mini-mode.vue']