docs(fall-menu):[fall-menu]text correction (#970)

* docs(fall-menu):[fall-menu]text correction

* docs(fall-menu):[fall-menu]text correction

* docs(fall-menu):[fall-menu]text correction
This commit is contained in:
James 2023-11-30 17:12:33 +08:00 committed by GitHub
parent 529903d653
commit b7fb33743e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 10 deletions

View File

@ -2,13 +2,13 @@
<div class="left-panel">
<tiny-fall-menu :data="dataset">
<template #level1="data">
<a>{{ data.slotScope.title + 'level1' }}</a>
<a>{{ `${data.slotScope.title} level1 ` }}</a>
</template>
<template #level2="data">
<span>{{ data.slotScope.title + 'level2' }}</span>
<span>{{ `${data.slotScope.title} level2 ` }}</span>
</template>
<template #level3="data">
<a v-for="(level3, index) in data.slotScope" :href="level3.url" :key="index">{{ level3.title + 'level3' }}</a>
<a v-for="(level3, index) in data.slotScope" :href="level3.url" :key="index">{{ `${level3.title} level3 ` }}</a>
</template>
</tiny-fall-menu>
</div>

View File

@ -2,13 +2,13 @@
<div class="left-panel">
<fall-menu :data="dataset">
<template #level1="data">
<a>{{ data.slotScope.title + 'level1' }}</a>
<a>{{ `${data.slotScope.title} level1 ` }}</a>
</template>
<template #level2="data">
<span>{{ data.slotScope.title + 'level2' }}</span>
<span>{{ `${data.slotScope.title} level2 ` }}</span>
</template>
<template #level3="data">
<a v-for="(level3, index) in data.slotScope" :href="level3.url" :key="index">{{ level3.title + 'level3' }}</a>
<a v-for="(level3, index) in data.slotScope" :href="level3.url" :key="index">{{ `${level3.title} level3 ` }}</a>
</template>
</fall-menu>
</div>

View File

@ -5,7 +5,7 @@ export default {
{
'demoId': 'data-basic',
'name': { 'zh-CN': '基本用法', 'en-US': 'Basic Usage' },
'desc': { 'zh-CN': '详细用法参考如下示例', 'en-US': 'For details, see the following example.' },
'desc': { 'zh-CN': '详细用法参考如下示例', 'en-US': 'For details, see the following example.' },
'codeFiles': ['data-resource.vue']
},
{
@ -44,10 +44,10 @@ export default {
{
'name': 'fall-menu',
'type': 'component',
'properties': [
'props': [
{
'name': 'data',
'type': 'object , Array',
'type': 'object | object[]',
'defaultValue': '',
'desc': {
'zh-CN': '设置瀑布菜单的数据。',
@ -93,7 +93,8 @@ export default {
'desc': { 'zh-CN': '自定义右侧切换图标', 'en-US': 'Customize the switch icon on the right.' },
'demoId': 'custom-slider-icon'
}
]
],
types: []
}
]
}