forked from opentiny/tiny-vue
parent
969550b2d6
commit
437d1e6177
|
@ -22,11 +22,11 @@
|
|||
"defaultValue": "[]"
|
||||
},
|
||||
{
|
||||
"name": "textField",
|
||||
"name": "text-field",
|
||||
"sample": "options",
|
||||
"type": "Array",
|
||||
"type": "String",
|
||||
"desc": "Specify the breadcrumb display field. This field is used together with options. The component defaults to label.",
|
||||
"defaultValue": "[]"
|
||||
"defaultValue": "label"
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
|
|
|
@ -22,11 +22,11 @@
|
|||
"defaultValue": "[]"
|
||||
},
|
||||
{
|
||||
"name": "textField",
|
||||
"name": "text-field",
|
||||
"sample": "options",
|
||||
"type": "Array",
|
||||
"type": "String",
|
||||
"desc": "指定面包屑的显示字段,结合 options 使用,组件默认 label ",
|
||||
"defaultValue": "[]"
|
||||
"defaultValue": "label"
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div>
|
||||
<tiny-breadcrumb :options="options" @select="itemClick"></tiny-breadcrumb>
|
||||
<tiny-breadcrumb :options="options1" textField="name" @select="itemClick"></tiny-breadcrumb>
|
||||
<tiny-breadcrumb :options="options1" text-field="name" @select="itemClick"></tiny-breadcrumb>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Reference in New Issue