Skip to content

Commit

Permalink
fix: 卷帘默认层级
Browse files Browse the repository at this point in the history
  • Loading branch information
yxh01132861 committed Jan 4, 2024
1 parent 00872fe commit e71bf31
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { Swipe } from './Swipe';
export interface SwipeControlProps extends ImplementWidgetProps, Properties {}

const SwipeControl: React.FC<SwipeControlProps> = (props) => {
const { defaultOpen, position, orientation, defaultLeftLayers = [], defaultRightLayers = [] } = props;
const { defaultOpen, position, orientation, defaultLeftLayers, defaultRightLayers } = props;
const [isOpen, setIsOpen] = useState(defaultOpen);
const styles = useStyle();
const layerList = useLayerList();
Expand Down

0 comments on commit e71bf31

Please sign in to comment.