edit
This commit is contained in:
@ -76,7 +76,6 @@ export class MenuModalComponent implements OnInit {
|
||||
title: '菜单路由',
|
||||
type: 'string',
|
||||
default: this.formData.link,
|
||||
maxLength: 20,
|
||||
ui: {
|
||||
widget: this.isDisabled ? 'text' : 'string',
|
||||
placeholder: '请输入菜单路由'
|
||||
@ -125,6 +124,10 @@ export class MenuModalComponent implements OnInit {
|
||||
}
|
||||
|
||||
sure() {
|
||||
if (!this.sf.valid) {
|
||||
this.service.msgSrv.warning('表单验证错误');
|
||||
return;
|
||||
}
|
||||
const params = {
|
||||
...this.sf.value,
|
||||
...this.params,
|
||||
|
||||
Reference in New Issue
Block a user