king
2025-01-24 e1cee96b38805bcccf48e7bcb9d296f2bc54c720
src/mob/components/navbar/normal-navbar/index.jsx
@@ -12,6 +12,7 @@
const NormalForm = asyncIconComponent(() => import('@/components/normalform'))
const MenuComponent = asyncIconComponent(() => import('./menus'))
const SettingComponent = asyncIconComponent(() => import('@/menu/datasource'))
const CopyComponent = asyncIconComponent(() => import('@/menu/components/share/copycomponent'))
class NormalNavbar extends Component {
  static propTpyes = {
@@ -119,6 +120,8 @@
  render() {
    const { card } = this.state
    if (!card.wrap) return null
    let _style = {...card.style}
    _style.height = card.wrap.height
@@ -130,6 +133,7 @@
            <NormalForm title="菜单栏设置" width={800} update={this.updateWrap} getForms={this.getWrapForms}>
              <EditOutlined style={{color: '#1890ff'}} title="编辑"/>
            </NormalForm>
            <CopyComponent type="mobnavbar" card={card}/>
            <FontColorsOutlined className="style" title="调整样式" onClick={this.changeStyle} />
            <DeleteOutlined className="close" title="删除组件" onClick={() => this.props.deletecomponent(card.uuid)} />
            {card.wrap.datatype !== 'static' ? <SettingComponent config={card} updateConfig={this.updateComponent} /> : null}