Commit d8f19002 authored by 杨子龙's avatar 杨子龙

修复编辑器报错问题

parent adec71c6
......@@ -63,8 +63,8 @@ const StatusOption = props => {
item.isMapped = currentItem.isMapped || false;
item.width = currentItem.width || 120;
} else {
item.type = showType(current.Widget) ? current.Widget : '文本';
item.editType = current.Widget;
item.type = showType(current?.Widget) ? current ? current.Widget : "文本" : '文本';
item.editType = current ? current.Widget : "文本";
item.color = 'rgb(65,68,69)';
item.isMapped = false;
item.width = 120;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment