/* * Author: 黎永顺 * name: 内容操作按钮区 * Description: * Date: 2023/4/21 */ import React, { Component } from "react"; import { WeaLocaleProvider } from "ecCom"; import "../index.less"; const { getLabel } = WeaLocaleProvider; class RightOptions extends Component { constructor(props) { super(props); this.state = { show: true }; } render() { const { onChange } = this.props; const { show } = this.state; return (
onChange("", "dataView")}/> onChange("1", "bar")}/> onChange("2", "line")}/> onChange("0", "pie")}/> onChange("1", "setting")}/>
this.setState({ show: !show })}> { show ? : }
); } } export default RightOptions;