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

chitanda 发布系统代码

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