king
2021-08-24 1a11f7115e61c548f9ffc77d0a9e504307ca71b2
src/components/normalform/modalform/index.jsx
@@ -15,6 +15,8 @@
const StyleInput = asyncComponent(() => import('./styleInput'))
const MKFileUpload = asyncComponent(() => import('@/tabviews/zshare/fileupload'))
const MKColor = asyncComponent(() => import('@/tabviews/zshare/mutilform/mkColor'))
const MkIcon = asyncComponent(() => import('@/components/mkIcon'))
const SourceComponent = asyncComponent(() => import('@/menu/components/share/sourcecomponent'))
class ModalForm extends Component {
  static propTpyes = {
@@ -213,6 +215,10 @@
        content = (<Cascader options={item.options} expandTrigger="hover" placeholder="" />)
      } else if (item.type === 'textarea') {
        content = (<TextArea rows={item.rows || 2} placeholder=""/>)
      } else if (item.type === 'mkicon') {
        content = (<MkIcon />)
      } else if (item.type === 'source') {
        content = (<SourceComponent type="" placement="right"/>)
      }
      if (!content) return