king
2023-01-09 4cd93a0c0525a22ec8798e51096fa5bfd448bde0
src/mob/modulesource/index.jsx
@@ -16,7 +16,7 @@
  }
  UNSAFE_componentWillMount () {
    const { components } = this.props
    const { components, viewType } = this.props
    let options = []
    
    if (components) {
@@ -29,6 +29,10 @@
      }
    }
    if (viewType === 'popview') {
      options = options.filter(item => !['topbar', 'navbar', 'login', 'officialAccount'].includes(item.component))
    }
    this.setState({
      menuOptions: options
    })