提交 9463495c 编写于 作者: ibizdev's avatar ibizdev

chitanda 发布系统代码

上级 5e8e3420
......@@ -19,7 +19,7 @@
color: var(--app-header-color);
.ivu-select-selection {
height: 20px;
height: 18px;
background-color: transparent;
border: 0;
......
......@@ -109,15 +109,17 @@ export class AppBreadcrumb extends Vue {
}
const arr = this.appService.navHistory.historyList;
arr.forEach((item, i) => {
const list = this.getItems(i);
let dropdown: any = null;
if (list && list.length > 0) {
const c = item.context;
dropdown = <i-select v-model={c[c.srfappdename]} on-on-change={(val: any) => this.itemChange(c, item, val)} size="small">
{list.map((item: any) => {
return <i-option value={item.srfkey} key={item.srfkey}>{item.srfmajortext}</i-option>;
})}
</i-select>;
if (arr.length === (i + 1)) {
const list = this.getItems(i);
if (list && list.length > 0) {
const c = item.context;
dropdown = <i-select v-model={c[c.srfappdename]} on-on-change={(val: any) => this.itemChange(c, item, val)} size="small">
{list.map((item: any) => {
return <i-option value={item.srfkey} key={item.srfkey}>{item.srfmajortext}</i-option>;
})}
</i-select>;
}
}
items.push(<span class={{ 'app-breadcrumb-item': true, 'last': i === (arr.length - 1) }}>
{(!indexMeta && i === 0) ? null : <span class="separator">/</span>}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册