fix(client): cannot read properties of undefined (reading 'interface')
This commit is contained in:
parent
c829ae00d0
commit
5b9a24cba1
@ -130,7 +130,7 @@ export const FieldDesignableBar = observer((props) => {
|
||||
>
|
||||
自定义字段名称
|
||||
</Menu.Item>
|
||||
{collectionField.interface === 'linkTo' && (
|
||||
{collectionField?.interface === 'linkTo' && (
|
||||
<Menu.Item>
|
||||
<div
|
||||
style={{
|
||||
|
@ -2145,7 +2145,7 @@ Table.Column.DesignableBar = () => {
|
||||
>
|
||||
自定义列名称
|
||||
</Menu.Item>
|
||||
{collectionField.interface === 'linkTo' && (
|
||||
{collectionField?.interface === 'linkTo' && (
|
||||
<Menu.Item>
|
||||
<div
|
||||
style={{
|
||||
|
Loading…
Reference in New Issue
Block a user