This commit is contained in:
Taric Xin
2021-12-21 15:47:49 +08:00
parent d8b068229c
commit 3dae93db94
4 changed files with 21 additions and 21 deletions

View File

@ -82,7 +82,7 @@ export class CartConfigComponent implements OnInit {
{
title: '启用状态',
className: 'text-center',
index: 'stateLocked',
index: 'statePaused',
type: 'badge',
badge: {
false: { text: '启用', color: 'success' },
@ -150,7 +150,7 @@ export class CartConfigComponent implements OnInit {
nzContent: CartConfigActionModalComponent,
nzComponentParams: item
? { i: { ...item }, configType: this.tabType }
: { i: { id: 0 }, configType: this.tabType, params: { itemKey: this.st.total + 1 } },
: { i: { id: 0 }, configType: this.tabType },
nzFooter: null
});
modal.afterClose.subscribe(res => {