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:
parent
529903d653
commit
b7fb33743e
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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: []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue