fix bug
This commit is contained in:
@ -73,7 +73,7 @@ export class ParterLevelConfigEditComponent implements OnInit {
|
||||
save() {
|
||||
this.sf.validator({ emitError: true });
|
||||
if(!this.sf.valid) return;
|
||||
this.service.request(this.service.$api_save, { ...this.sf.value }).subscribe(res => {
|
||||
this.service.request(this.service.$api_save, { ...this.sf?.value }).subscribe(res => {
|
||||
if (res) {
|
||||
this.service.msgSrv.success('保存成功!')
|
||||
this.modalRef.destroy(true);
|
||||
|
||||
Reference in New Issue
Block a user