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>
|
</Menu.Item>
|
||||||
{collectionField.interface === 'linkTo' && (
|
{collectionField?.interface === 'linkTo' && (
|
||||||
<Menu.Item>
|
<Menu.Item>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
|
@ -2145,7 +2145,7 @@ Table.Column.DesignableBar = () => {
|
|||||||
>
|
>
|
||||||
自定义列名称
|
自定义列名称
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
{collectionField.interface === 'linkTo' && (
|
{collectionField?.interface === 'linkTo' && (
|
||||||
<Menu.Item>
|
<Menu.Item>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
|
Loading…
Reference in New Issue
Block a user