fix bug
This commit is contained in:
@ -129,17 +129,17 @@ export class MenuModalComponent implements OnInit {
|
||||
return;
|
||||
}
|
||||
const params = {
|
||||
...this.sf.value,
|
||||
...this.sf?.value,
|
||||
...this.params,
|
||||
i18n: null,
|
||||
// i18n: this.sf.value.keyCode,
|
||||
// i18n: this.sf?.value.keyCode,
|
||||
menuType: 0,
|
||||
reuse: 0,
|
||||
shortcut: 0,
|
||||
hideInBreadcrumb: 0,
|
||||
functionType: 0,
|
||||
sortId: this.sf.value.sortId?.toString() || null,
|
||||
text: this.sf.value.title
|
||||
sortId: this.sf?.value.sortId?.toString() || null,
|
||||
text: this.sf?.value.title
|
||||
};
|
||||
this.service.request(this.service.$api_add_one, params).subscribe(res => {
|
||||
if (res) {
|
||||
|
||||
Reference in New Issue
Block a user