From e0fc78e849f4edc95c38a1568d4774aad58d6a26 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Wed, 30 Mar 2022 17:07:03 +0800 Subject: [PATCH] fix bug --- .../network-freight/network-freight.component.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/app/routes/sys-setting/components/network-freight/network-freight.component.ts b/src/app/routes/sys-setting/components/network-freight/network-freight.component.ts index a334b188..3ee63aed 100644 --- a/src/app/routes/sys-setting/components/network-freight/network-freight.component.ts +++ b/src/app/routes/sys-setting/components/network-freight/network-freight.component.ts @@ -528,7 +528,7 @@ export class NetworkFreightComponent implements OnInit { } // 应用设置 settingApp(item?: any) { - this.nzModalService.create({ + const modalRef = this.nzModalService.create({ nzTitle: '应用设置', nzContent: DynamicSettingModalComponent, nzWidth: 900, @@ -539,6 +539,12 @@ export class NetworkFreightComponent implements OnInit { }, nzFooter: null }); + modalRef.afterClose.subscribe((res: boolean) => { + if (res) { + this.resetSF; + this.st.load(); + } + }) } // 重置账户 settingPay(item?: any) {