This commit is contained in:
wangshiming
2022-04-28 20:26:30 +08:00
parent 6cc12ff451
commit 2aeaa09e14
112 changed files with 339 additions and 339 deletions

View File

@ -37,7 +37,7 @@ export class AuthDrawerComponent implements OnInit {
Object.assign(requestOptions.body, { id: this.id });
if (this.sf) {
Object.assign(requestOptions.body, {
...this.sf.value
...this.sf?.value
});
}
return requestOptions;

View File

@ -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) {