fix: 按钮不应显示路由地址
This commit is contained in:
parent
1e99a1cd52
commit
2a2d90baf7
@ -223,8 +223,8 @@ export const drawerSchema: FormSchemaGetter = () => [
|
|||||||
.regex(/^https?:\/\//, { message: '请输入正确的链接地址' });
|
.regex(/^https?:\/\//, { message: '请输入正确的链接地址' });
|
||||||
},
|
},
|
||||||
// 类型不为按钮时显示
|
// 类型不为按钮时显示
|
||||||
show: (values) => values.menuType !== 'F',
|
show: (values) => values?.menuType !== 'F',
|
||||||
triggerFields: ['isFrame'],
|
triggerFields: ['isFrame', 'menuType'],
|
||||||
},
|
},
|
||||||
fieldName: 'path',
|
fieldName: 'path',
|
||||||
help: `路由地址不带/, 如: menu, user 链接为http(s)://开头 链接默认使用内部iframe打开, 可通过{是否外链}控制打开方式`,
|
help: `路由地址不带/, 如: menu, user 链接为http(s)://开头 链接默认使用内部iframe打开, 可通过{是否外链}控制打开方式`,
|
||||||
|
Loading…
Reference in New Issue
Block a user